Instructions to use AmazonScience/qanlu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AmazonScience/qanlu with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="AmazonScience/qanlu")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("AmazonScience/qanlu") model = AutoModelForQuestionAnswering.from_pretrained("AmazonScience/qanlu", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
3e73060
-
Update README.md
cbd0f53 -
Update README.md
bf2a609 -
Update README.md
225b0fa -
Update README.md
649da15 -
Update README.md
b5a7c47 -
Update README.md
3c3b257 -
Update README.md
6ffe76d -
Update README.md
0dc2d4f
-
Update README.md
f59a374 -
Update README.md
7c184c9 -
Update README.md
565b84c -
Update README.md
Updated README444a686 -
Update README.md
Updated READMEf89d9aa -
Create README.md
First draft of README9c11183 -
Upload vocab.json
Initial commitdaef667 -
Upload training_args.bin with git-lfs
Initial commit278a885 -
Upload tokenizer_config.json
Initial commit824fc9d -
Upload special_tokens_map.json
Initial commitc90b710 -
Upload pytorch_model.bin with git-lfs
Initial commit4577aff -
Upload merges.txt
Initial commitb98e29d -
Upload config.json
Initial commite3cc8bf -
initial commit
5f847af