Instructions to use suriya7/MaxMini-Instruct-248M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use suriya7/MaxMini-Instruct-248M with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("suriya7/MaxMini-Instruct-248M") model = AutoModelForSeq2SeqLM.from_pretrained("suriya7/MaxMini-Instruct-248M") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -33,9 +33,11 @@ pip install torch
|
|
| 33 |
```
|
| 34 |
## Inference
|
| 35 |
```python
|
| 36 |
-
|
|
|
|
| 37 |
|
| 38 |
-
|
|
|
|
| 39 |
|
| 40 |
my_question = "what is depression?"
|
| 41 |
inputs = "Please answer to this question: " + my_question
|
|
|
|
| 33 |
```
|
| 34 |
## Inference
|
| 35 |
```python
|
| 36 |
+
# Load model directly
|
| 37 |
+
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
| 38 |
|
| 39 |
+
tokenizer = AutoTokenizer.from_pretrained("suriya7/MaxMini-Instruct-248M")
|
| 40 |
+
model = AutoModelForSeq2SeqLM.from_pretrained("suriya7/MaxMini-Instruct-248M")
|
| 41 |
|
| 42 |
my_question = "what is depression?"
|
| 43 |
inputs = "Please answer to this question: " + my_question
|