Question Answering
Transformers
TensorBoard
Safetensors
gpt2
Generated from Trainer
text-generation-inference
Instructions to use catpawdev/gpt_2X with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use catpawdev/gpt_2X 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="catpawdev/gpt_2X")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("catpawdev/gpt_2X") model = AutoModelForQuestionAnswering.from_pretrained("catpawdev/gpt_2X", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files
README.md
CHANGED
|
@@ -15,7 +15,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 15 |
|
| 16 |
This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
|
| 17 |
It achieves the following results on the evaluation set:
|
| 18 |
-
- Loss: 6.
|
| 19 |
|
| 20 |
## Model description
|
| 21 |
|
|
@@ -46,9 +46,9 @@ The following hyperparameters were used during training:
|
|
| 46 |
|
| 47 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 48 |
|:-------------:|:-----:|:----:|:---------------:|
|
| 49 |
-
| No log | 1.0 | 100 | 6.
|
| 50 |
-
| No log | 2.0 | 200 | 6.
|
| 51 |
-
| No log | 3.0 | 300 | 6.
|
| 52 |
|
| 53 |
|
| 54 |
### Framework versions
|
|
|
|
| 15 |
|
| 16 |
This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
|
| 17 |
It achieves the following results on the evaluation set:
|
| 18 |
+
- Loss: 6.2262
|
| 19 |
|
| 20 |
## Model description
|
| 21 |
|
|
|
|
| 46 |
|
| 47 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 48 |
|:-------------:|:-----:|:----:|:---------------:|
|
| 49 |
+
| No log | 1.0 | 100 | 6.1345 |
|
| 50 |
+
| No log | 2.0 | 200 | 6.1727 |
|
| 51 |
+
| No log | 3.0 | 300 | 6.2262 |
|
| 52 |
|
| 53 |
|
| 54 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 497780512
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db4d3b250acac735532f4b76ba826d126a06d3316a33e4c19e1a4e4550f81ee4
|
| 3 |
size 497780512
|
runs/Feb04_20-25-55_4151327f05ce/events.out.tfevents.1707078754.4151327f05ce.772.5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:31575b60a0e39b26c082510c1125989b021610df6459925c816b2f391a9c0924
|
| 3 |
+
size 5613
|