ahmed-ai commited on
Commit
a6452bd
1 Parent(s): 6805bf1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -25,8 +25,8 @@ pip install accelerate
25
  from transformers import AutoTokenizer, pipeline
26
  ```
27
  ```py
28
- tokenizer = AutoTokenizer.from_pretrained('ahmed/galen')
29
- model_pipeline = pipeline(task="text-generation", model='ahmed/galen', tokenizer=tokenizer, max_length=256, temperature=0.5, top_p=0.6)
30
  ```
31
  ```py
32
  result = model_pipeline('What is squamous carcinoma')
 
25
  from transformers import AutoTokenizer, pipeline
26
  ```
27
  ```py
28
+ 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')