Text Generation
Transformers
TensorBoard
Safetensors
gpt2
Generated from Trainer
text-generation-inference
Instructions to use gjonesQ02/StatementOfWork_Generator_Omega2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gjonesQ02/StatementOfWork_Generator_Omega2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="gjonesQ02/StatementOfWork_Generator_Omega2")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("gjonesQ02/StatementOfWork_Generator_Omega2") model = AutoModelForCausalLM.from_pretrained("gjonesQ02/StatementOfWork_Generator_Omega2") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use gjonesQ02/StatementOfWork_Generator_Omega2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "gjonesQ02/StatementOfWork_Generator_Omega2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gjonesQ02/StatementOfWork_Generator_Omega2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/gjonesQ02/StatementOfWork_Generator_Omega2
- SGLang
How to use gjonesQ02/StatementOfWork_Generator_Omega2 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "gjonesQ02/StatementOfWork_Generator_Omega2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gjonesQ02/StatementOfWork_Generator_Omega2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "gjonesQ02/StatementOfWork_Generator_Omega2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gjonesQ02/StatementOfWork_Generator_Omega2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use gjonesQ02/StatementOfWork_Generator_Omega2 with Docker Model Runner:
docker model run hf.co/gjonesQ02/StatementOfWork_Generator_Omega2
Model save
Browse files
README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
| 5 |
-
base_model: distilgpt2
|
| 6 |
model-index:
|
| 7 |
- name: StatementOfWork_Generator_Omega2
|
| 8 |
results: []
|
|
@@ -15,7 +15,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 15 |
|
| 16 |
This model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on an unknown dataset.
|
| 17 |
It achieves the following results on the evaluation set:
|
| 18 |
-
- Loss:
|
| 19 |
|
| 20 |
## Model description
|
| 21 |
|
|
@@ -46,26 +46,26 @@ The following hyperparameters were used during training:
|
|
| 46 |
|
| 47 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 48 |
|:-------------:|:-----:|:----:|:---------------:|
|
| 49 |
-
| No log | 1.0 | 15 | 1.
|
| 50 |
-
| No log | 2.0 | 30 | 1.
|
| 51 |
-
| No log | 3.0 | 45 | 1.
|
| 52 |
-
| No log | 4.0 | 60 | 1.
|
| 53 |
-
| No log | 5.0 | 75 | 1.
|
| 54 |
-
| No log | 6.0 | 90 | 1.
|
| 55 |
-
| No log | 7.0 | 105 | 1.
|
| 56 |
-
| No log | 8.0 | 120 | 1.
|
| 57 |
-
| No log | 9.0 | 135 |
|
| 58 |
-
| No log | 10.0 | 150 |
|
| 59 |
-
| No log | 11.0 | 165 | 1.
|
| 60 |
-
| No log | 12.0 | 180 |
|
| 61 |
-
| No log | 13.0 | 195 |
|
| 62 |
-
| No log | 14.0 | 210 |
|
| 63 |
-
| No log | 15.0 | 225 |
|
| 64 |
-
| No log | 16.0 | 240 |
|
| 65 |
-
| No log | 17.0 | 255 |
|
| 66 |
-
| No log | 18.0 | 270 |
|
| 67 |
-
| No log | 19.0 | 285 |
|
| 68 |
-
| No log | 20.0 | 300 |
|
| 69 |
|
| 70 |
|
| 71 |
### Framework versions
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
base_model: distilgpt2
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
|
|
|
| 6 |
model-index:
|
| 7 |
- name: StatementOfWork_Generator_Omega2
|
| 8 |
results: []
|
|
|
|
| 15 |
|
| 16 |
This model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on an unknown dataset.
|
| 17 |
It achieves the following results on the evaluation set:
|
| 18 |
+
- Loss: 0.9899
|
| 19 |
|
| 20 |
## Model description
|
| 21 |
|
|
|
|
| 46 |
|
| 47 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 48 |
|:-------------:|:-----:|:----:|:---------------:|
|
| 49 |
+
| No log | 1.0 | 15 | 1.0194 |
|
| 50 |
+
| No log | 2.0 | 30 | 1.0190 |
|
| 51 |
+
| No log | 3.0 | 45 | 1.0147 |
|
| 52 |
+
| No log | 4.0 | 60 | 1.0102 |
|
| 53 |
+
| No log | 5.0 | 75 | 1.0135 |
|
| 54 |
+
| No log | 6.0 | 90 | 1.0091 |
|
| 55 |
+
| No log | 7.0 | 105 | 1.0055 |
|
| 56 |
+
| No log | 8.0 | 120 | 1.0024 |
|
| 57 |
+
| No log | 9.0 | 135 | 0.9965 |
|
| 58 |
+
| No log | 10.0 | 150 | 0.9984 |
|
| 59 |
+
| No log | 11.0 | 165 | 1.0013 |
|
| 60 |
+
| No log | 12.0 | 180 | 0.9934 |
|
| 61 |
+
| No log | 13.0 | 195 | 0.9952 |
|
| 62 |
+
| No log | 14.0 | 210 | 0.9917 |
|
| 63 |
+
| No log | 15.0 | 225 | 0.9911 |
|
| 64 |
+
| No log | 16.0 | 240 | 0.9900 |
|
| 65 |
+
| No log | 17.0 | 255 | 0.9918 |
|
| 66 |
+
| No log | 18.0 | 270 | 0.9902 |
|
| 67 |
+
| No log | 19.0 | 285 | 0.9900 |
|
| 68 |
+
| No log | 20.0 | 300 | 0.9899 |
|
| 69 |
|
| 70 |
|
| 71 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 327657928
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b48671e8b2eaba6ba8c65146821e199547c8f448bc2e2428511819b7df958e1
|
| 3 |
size 327657928
|
runs/Jun27_14-28-33_viridian/events.out.tfevents.1719506420.viridian.2678733.10
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd9d24247b6e7c082a110dfc86d5afa98ec17e3fbd5bfe780dc5e9c53f94631a
|
| 3 |
+
size 10775
|