Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ bnb_config = BitsAndBytesConfig(
|
|
65 |
model = AutoModelForCausalLM.from_pretrained(
|
66 |
"mistralai/Mistral-7B-Instruct-v0.1",quantization_config=bnb_config,
|
67 |
)
|
68 |
-
dataset= load_dataset("mery22/testub")
|
69 |
loader = PyPDFLoader(dataset)
|
70 |
data = loader.load()
|
71 |
text_splitter1 = CharacterTextSplitter(chunk_size=512, chunk_overlap=0,separator="\n\n")
|
|
|
65 |
model = AutoModelForCausalLM.from_pretrained(
|
66 |
"mistralai/Mistral-7B-Instruct-v0.1",quantization_config=bnb_config,
|
67 |
)
|
68 |
+
dataset= load_dataset("mery22/testub/test-1.pdf")
|
69 |
loader = PyPDFLoader(dataset)
|
70 |
data = loader.load()
|
71 |
text_splitter1 = CharacterTextSplitter(chunk_size=512, chunk_overlap=0,separator="\n\n")
|