ahmed-ai commited on
Commit
370ccd1
·
verified ·
1 Parent(s): a6452bd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -29,7 +29,7 @@ tokenizer = AutoTokenizer.from_pretrained('ahmed-ai/galen')
29
  model_pipeline = pipeline(task="text-generation", model='ahmed-ai/galen', tokenizer=tokenizer, max_length=256, temperature=0.5, top_p=0.6)
30
  ```
31
  ```py
32
- result = model_pipeline('What is squamous carcinoma')
33
  #print the generated text
34
  print(result[0]['generated_text'][len(prompt):])
35
  ```
 
29
  model_pipeline = pipeline(task="text-generation", model='ahmed-ai/galen', tokenizer=tokenizer, max_length=256, temperature=0.5, top_p=0.6)
30
  ```
31
  ```py
32
+ result = model_pipeline('What is squamous cell carcinoma')
33
  #print the generated text
34
  print(result[0]['generated_text'][len(prompt):])
35
  ```