Spaces:
Runtime error
Runtime error
wagnercosta
commited on
Commit
•
852b5fd
1
Parent(s):
5c11827
Remove HF_TOKEN env var
Browse files- phi3_instruct_graph.py +5 -5
phi3_instruct_graph.py
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
import torch
|
2 |
-
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
|
3 |
from textwrap import dedent
|
4 |
from huggingface_hub import login
|
5 |
import os
|
6 |
from dotenv import load_dotenv
|
7 |
|
8 |
-
load_dotenv()
|
9 |
-
login(
|
10 |
-
|
11 |
-
)
|
12 |
|
13 |
MODEL_LIST = [
|
14 |
"EmergentMethods/Phi-3-mini-4k-instruct-graph",
|
|
|
1 |
import torch
|
2 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
|
3 |
from textwrap import dedent
|
4 |
from huggingface_hub import login
|
5 |
import os
|
6 |
from dotenv import load_dotenv
|
7 |
|
8 |
+
# load_dotenv()
|
9 |
+
# login(
|
10 |
+
# token=os.environ["HF_TOKEN"],
|
11 |
+
# )
|
12 |
|
13 |
MODEL_LIST = [
|
14 |
"EmergentMethods/Phi-3-mini-4k-instruct-graph",
|