asif00 commited on
Commit
26afe6e
1 Parent(s): e734db6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -4
README.md CHANGED
@@ -12,8 +12,16 @@ library_name: transformers
12
  pipeline_tag: question-answering
13
  ---
14
 
15
- # Uploaded model
16
 
17
- - **Developed by:** asif00
18
- - **License:** apache-2.0
19
- - **Finetuned from model :** unsloth/llama-3-8b-bnb-4bit
 
 
 
 
 
 
 
 
 
12
  pipeline_tag: question-answering
13
  ---
14
 
15
+ How to use it:
16
 
17
+ # Use a pipeline as a high-level helper
18
+ from transformers import pipeline
19
+
20
+ pipe = pipeline("question-answering", model="asif00/bangla-llama-4bit")
21
+
22
+ Copy
23
+ # Load model directly
24
+ from transformers import AutoTokenizer, AutoModelForCausalLM
25
+
26
+ tokenizer = AutoTokenizer.from_pretrained("asif00/bangla-llama-4bit")
27
+ model = AutoModelForCausalLM.from_pretrained("asif00/bangla-llama-4bit")