Question Answering
Transformers
TensorBoard
Safetensors
gemma
text-generation
trl
sft
Generated from Trainer
text-generation-inference
Instructions to use IvanD2002/gemma-chatbot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IvanD2002/gemma-chatbot 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="IvanD2002/gemma-chatbot")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("IvanD2002/gemma-chatbot") model = AutoModelForCausalLM.from_pretrained("IvanD2002/gemma-chatbot", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
-
library_name:
|
| 4 |
tags:
|
| 5 |
- trl
|
| 6 |
- sft
|
|
@@ -9,6 +9,7 @@ base_model: google/gemma-2b-it
|
|
| 9 |
model-index:
|
| 10 |
- name: gemma-chatbot
|
| 11 |
results: []
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
+
library_name: transformers
|
| 4 |
tags:
|
| 5 |
- trl
|
| 6 |
- sft
|
|
|
|
| 9 |
model-index:
|
| 10 |
- name: gemma-chatbot
|
| 11 |
results: []
|
| 12 |
+
pipeline_tag: text-generation
|
| 13 |
---
|
| 14 |
|
| 15 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|