traintogpb commited on
Commit
bfd119d
1 Parent(s): 945d9c8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -61,7 +61,7 @@ pipeline_tag: translation
61
  tokenizer = AutoTokenizer.from_pretrained(adapter_name)
62
  tokenizer.pad_token_id = 128002 # eos_token_id and pad_token_id should be different
63
 
64
- text = "Someday, QWER will be the greatest girl band in the world.""
65
  input_prompt = f"Translate this from English to 한국어.\n### English: {text}\n### 한국어:"
66
  inputs = tokenizer(input_prompt, max_length=768, truncation=True, return_tensors='pt')
67
 
 
61
  tokenizer = AutoTokenizer.from_pretrained(adapter_name)
62
  tokenizer.pad_token_id = 128002 # eos_token_id and pad_token_id should be different
63
 
64
+ text = "Someday, QWER will be the greatest girl band in the world."
65
  input_prompt = f"Translate this from English to 한국어.\n### English: {text}\n### 한국어:"
66
  inputs = tokenizer(input_prompt, max_length=768, truncation=True, return_tensors='pt')
67