Skip to content

Commit

Permalink
configure a bucket for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
bachvudinh committed Jul 17, 2024
1 parent d917170 commit 2d4f077
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test_flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
S3Helper()

# # Example usage
model_name = "jan-hq/tokenizer-tinyllama"
model_name = "jan-hq-test/tokenizer-tinyllama"
# model = S3HelperAutoModelForCausalLM.from_pretrained(model_name)
tokenizer = S3HelperAutoTokenizer.from_pretrained(model_name)
logging.info(f"Tokenizer Loading successful: {tokenizer}")
# print(tokenizer)
# config = S3HelperAutoConfig.from_pretrained(model_name)
# Make sure S3Helper is initialized and environment variables are set
# Load a dataset from S3 bucket
dataset = s3_load_dataset("jan-hq/test-dataset",file_format='parquet', split='train')
dataset = s3_load_dataset("jan-hq-test/test-dataset",file_format='parquet', split='train')
logging.info(f"Dataset Loading successful")

0 comments on commit 2d4f077

Please sign in to comment.