Text Generation
Transformers
Safetensors
English
French
Turkish
gpt2
art
emoji
brainrot
text-generation-inference
Instructions to use PingVortex/Youtube-shorts-comment-generator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PingVortex/Youtube-shorts-comment-generator with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="PingVortex/Youtube-shorts-comment-generator")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("PingVortex/Youtube-shorts-comment-generator") model = AutoModelForCausalLM.from_pretrained("PingVortex/Youtube-shorts-comment-generator") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use PingVortex/Youtube-shorts-comment-generator with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "PingVortex/Youtube-shorts-comment-generator" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "PingVortex/Youtube-shorts-comment-generator", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/PingVortex/Youtube-shorts-comment-generator
- SGLang
How to use PingVortex/Youtube-shorts-comment-generator 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 "PingVortex/Youtube-shorts-comment-generator" \ --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": "PingVortex/Youtube-shorts-comment-generator", "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 "PingVortex/Youtube-shorts-comment-generator" \ --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": "PingVortex/Youtube-shorts-comment-generator", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use PingVortex/Youtube-shorts-comment-generator with Docker Model Runner:
docker model run hf.co/PingVortex/Youtube-shorts-comment-generator
Update README.md
Browse files
README.md
CHANGED
|
@@ -20,21 +20,17 @@ pipeline_tag: text-generation
|
|
| 20 |
library_name: transformers
|
| 21 |
---
|
| 22 |
|
| 23 |
-
# Youtube shorts comment generator
|
| 24 |
-
|
| 25 |
-
A **fine-tuned DistilGPT2 model** trained on 1.4M+ YouTube Shorts comments - the perfect language model for generating cursed internet humor, emoji spam, and authentic YouTube degeneracy.
|
| 26 |
|
| 27 |
- Base model: [distilgpt2](https://huggingface.co/distilgpt2)
|
| 28 |
- Trained on: [YouTube Shorts Comments Dataset](https://huggingface.co/datasets/PingVortex/Youtube_shorts_comments)
|
| 29 |
-
- Creator: [PingVortex](https://github.com/PingVortex)
|
| 30 |
|
| 31 |
-
## Model Details
|
| 32 |
|
| 33 |
- **Parameters**: 82M (DistilGPT2 architecture)
|
| 34 |
- **Training Data**: 1,475,500 YouTube Shorts comments
|
| 35 |
-
- **Special Skills**: Emoji generation, broken English, random character generation
|
| 36 |
|
| 37 |
-
## Usage Example
|
| 38 |
|
| 39 |
```python
|
| 40 |
from transformers import pipeline
|
|
@@ -48,24 +44,10 @@ print(output[0]['generated_text'])
|
|
| 48 |
*Sample output:*
|
| 49 |
`"When you see a Sigma edit: ๐๐๐๐ The white one on the last pic?๐๐๐๐
๐
๐
๐๐๐๐
๐ฎ๐ฎ๐
"`
|
| 50 |
|
| 51 |
-
## Training Info
|
| 52 |
|
| 53 |
- **Epochs**: 1
|
| 54 |
- **Batch Size**: 8
|
| 55 |
- **Hardware**: Google Colab T4 GPU
|
| 56 |
- **Training Time**: ~2 hours
|
| 57 |
-
- **Loss**: 0.24
|
| 58 |
-
|
| 59 |
-
## Ethical Considerations โ ๏ธ
|
| 60 |
-
|
| 61 |
-
This model may generate:
|
| 62 |
-
- Extreme emoji spam (๐ฅ๐๐คฃ)
|
| 63 |
-
- Nonsensical combinations
|
| 64 |
-
- Mild brain damage
|
| 65 |
-
- Occasional coherent text
|
| 66 |
-
|
| 67 |
-
Use responsibly (or irresponsibly, we don't judge).
|
| 68 |
-
|
| 69 |
-
## License ๐
|
| 70 |
-
|
| 71 |
-
**CC0 1.0 Universal** (Public Domain)
|
|
|
|
| 20 |
library_name: transformers
|
| 21 |
---
|
| 22 |
|
| 23 |
+
# Youtube shorts comment generator
|
|
|
|
|
|
|
| 24 |
|
| 25 |
- Base model: [distilgpt2](https://huggingface.co/distilgpt2)
|
| 26 |
- Trained on: [YouTube Shorts Comments Dataset](https://huggingface.co/datasets/PingVortex/Youtube_shorts_comments)
|
|
|
|
| 27 |
|
| 28 |
+
## Model Details
|
| 29 |
|
| 30 |
- **Parameters**: 82M (DistilGPT2 architecture)
|
| 31 |
- **Training Data**: 1,475,500 YouTube Shorts comments
|
|
|
|
| 32 |
|
| 33 |
+
## Usage Example
|
| 34 |
|
| 35 |
```python
|
| 36 |
from transformers import pipeline
|
|
|
|
| 44 |
*Sample output:*
|
| 45 |
`"When you see a Sigma edit: ๐๐๐๐ The white one on the last pic?๐๐๐๐
๐
๐
๐๐๐๐
๐ฎ๐ฎ๐
"`
|
| 46 |
|
| 47 |
+
## Training Info
|
| 48 |
|
| 49 |
- **Epochs**: 1
|
| 50 |
- **Batch Size**: 8
|
| 51 |
- **Hardware**: Google Colab T4 GPU
|
| 52 |
- **Training Time**: ~2 hours
|
| 53 |
+
- **Loss**: 0.24
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|