Wilderss commited on
Commit
02c9cc6
1 Parent(s): 62b7976

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -6
README.md CHANGED
@@ -19,11 +19,13 @@ pipeline_tag: question-answering
19
  library_name: adapter-transformers
20
  ---
21
 
22
- from transformers import pipeline
23
 
24
- # Load your model using the Hugging Face pipeline
25
- qa_pipeline = pipeline('question-answering', model="your-huggingface-username/QuantumEdgeAI")
26
 
27
- # Test it with a question and context
28
- result = qa_pipeline(question="What is Quantum Computing?", context="Quantum computing is a type of computation that harnesses the collective properties of quantum states.")
29
- print(result)
 
 
 
 
 
19
  library_name: adapter-transformers
20
  ---
21
 
22
+ from transformers import
23
 
 
 
24
 
25
+
26
+
27
+ from adapters import AutoAdapterModel
28
+
29
+ model = AutoAdapterModel.from_pretrained("undefined")
30
+ model.load_adapter("Wilderss/QuantumedgeAI", set_active=True)
31
+