Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,9 @@ from datasets import load_dataset, Dataset
|
|
3 |
import faiss # νμν κ²½μ° faissλ₯Ό μν¬νΈν©λλ€.
|
4 |
from transformers import AutoTokenizer, AutoModelForCausalLM, BitsAndBytesConfig
|
5 |
import torch
|
|
|
|
|
|
|
6 |
|
7 |
# λͺ¨λΈ λ° ν ν¬λμ΄μ μ€μ
|
8 |
model_id = "mistralai/Mixtral-8x7B-Instruct-v0.1"
|
|
|
3 |
import faiss # νμν κ²½μ° faissλ₯Ό μν¬νΈν©λλ€.
|
4 |
from transformers import AutoTokenizer, AutoModelForCausalLM, BitsAndBytesConfig
|
5 |
import torch
|
6 |
+
import os
|
7 |
+
|
8 |
+
tokenkey=os.getenv('HF_API_KEY')
|
9 |
|
10 |
# λͺ¨λΈ λ° ν ν¬λμ΄μ μ€μ
|
11 |
model_id = "mistralai/Mixtral-8x7B-Instruct-v0.1"
|