Instructions to use DisgustingOzil/Academic-ShortQA-Generator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DisgustingOzil/Academic-ShortQA-Generator with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("DisgustingOzil/Academic-ShortQA-Generator", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
chnaged
Browse files- handler.py +0 -1
handler.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
from typing import Dict, List, Any
|
| 2 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 3 |
-
import holidays
|
| 4 |
|
| 5 |
class EndpointHandler():
|
| 6 |
def __init__(self, path=""):
|
|
|
|
| 1 |
from typing import Dict, List, Any
|
| 2 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
|
|
| 3 |
|
| 4 |
class EndpointHandler():
|
| 5 |
def __init__(self, path=""):
|