mwitiderrick commited on
Commit
efa950c
1 Parent(s): 2777e2e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -68,7 +68,7 @@ This is an [OpenLlama model Code Instruct](https://huggingface.co/mwitiderrick/o
68
  ```python
69
  from transformers import AutoTokenizer, AutoModelForCausalLM,pipeline
70
 
71
- tokenizer = AutoTokenizer.from_pretrained("mwitiderrick/open_llama_3b_glaive_v0.1")
72
  model = AutoModelForCausalLM.from_pretrained("mwitiderrick/open_llama_3b_glaive_v0.1")
73
  query = "Write a quick sort algorithm in Python"
74
  text_gen = pipeline(task="text-generation", model=model, tokenizer=tokenizer, max_length=200)
 
68
  ```python
69
  from transformers import AutoTokenizer, AutoModelForCausalLM,pipeline
70
 
71
+ tokenizer = AutoTokenizer.from_pretrained("mwitiderrick/open_llama_3b_glaive_code_v0.1")
72
  model = AutoModelForCausalLM.from_pretrained("mwitiderrick/open_llama_3b_glaive_v0.1")
73
  query = "Write a quick sort algorithm in Python"
74
  text_gen = pipeline(task="text-generation", model=model, tokenizer=tokenizer, max_length=200)