Hemasagar commited on
Commit
0c444bc
1 Parent(s): 3b179d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ import transformers
9
  # Load model directly
10
  # with ctransformers, you can load from Hugging Face Hub directly and specify a model file (.bin or .gguf files) using:
11
 
12
- # from ctransformers import AutoModelForCausalLM
13
 
14
  # llm = AutoModelForCausalLM.from_pretrained("TheBloke/Llama-2-7B-Chat-GGML", model_file="llama-2-7b-chat.ggmlv3.q8_0.bin")
15
  # # from langchain.llms import CTransformers
 
9
  # Load model directly
10
  # with ctransformers, you can load from Hugging Face Hub directly and specify a model file (.bin or .gguf files) using:
11
 
12
+ from ctransformers import AutoModelForCausalLM
13
 
14
  # llm = AutoModelForCausalLM.from_pretrained("TheBloke/Llama-2-7B-Chat-GGML", model_file="llama-2-7b-chat.ggmlv3.q8_0.bin")
15
  # # from langchain.llms import CTransformers