mery22 commited on
Commit
fe7c8df
·
verified ·
1 Parent(s): cb5c2b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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")