shekharp77 commited on
Commit
83982dc
·
1 Parent(s): 278e439

first commit

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -2,7 +2,7 @@ from transformers import AutoTokenizer, LlamaForCausalLM
2
  from fastapi import FastAPI
3
  from pydantic import BaseModel
4
 
5
- model_path = '"EleutherAI/llemma_7b"'
6
 
7
  model = LlamaForCausalLM.from_pretrained(model_path)
8
  tokenizer = AutoTokenizer.from_pretrained(model_path)
 
2
  from fastapi import FastAPI
3
  from pydantic import BaseModel
4
 
5
+ model_path = 'EleutherAI/llemma_7b'
6
 
7
  model = LlamaForCausalLM.from_pretrained(model_path)
8
  tokenizer = AutoTokenizer.from_pretrained(model_path)