tasal9 commited on
Commit
d0bd165
·
1 Parent(s): 3773e2c

Add model and tokenizer initialization to app.py; create VSCode settings.json

Browse files
Files changed (2) hide show
  1. .vscode/settings.json +4 -0
  2. app.py +3 -0
.vscode/settings.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "python-envs.defaultEnvManager": "ms-python.python:pyenv",
3
+ "python-envs.pythonProjects": []
4
+ }
app.py CHANGED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from transformers import AutoModel, AutoTokenizer
2
+ model = AutoModel.from_pretrained("tasal9/ZamAI-Mistral-7B-Pashto")
3
+ tokenizer = AutoTokenizer.from_pretrained("tasal9/ZamAI-Mistral-7B-Pashto")