Views
No views yet
HF_TOKEN=your_token bash scripts/huggingface/publish_all.sh falsehf upload-large-folder for better large file handling| Model | Parameters | Files | Size | Use Case |
|---|---|---|---|---|
| bilingual-lm | ~125M | 42 | ~500MB | General text generation |
| literary-lm | ~125M | 2 | ~5MB | Literary text analysis |
| readability-classifier | - | 5 | ~2MB | Text assessment |
| sentiment-tone-classifier | - | 2 | ~1MB | Sentiment analysis |
| text-complexity-predictor | - | 1 | ~505KB | Complexity scoring |
| poetic-meter-detector | - | 2 | ~1MB | Poetry analysis |
| metaphor-simile-detector | - | 2 | ~1MB | Literary analysis |
| named-entity-recognizer | - | 2 | ~1MB | Entity extraction |
| cross-lingual-embed | - | 1 | ~1MB | Embeddings |
| style-transfer-gpt | - | 2 | ~1MB | Style transfer |
| tokenizer | - | 2 | ~262KB | Tokenization |
1from transformers import AutoTokenizer, AutoModelForCausalLM
2
3# Load main bilingual model
4tokenizer = AutoTokenizer.from_pretrained("KothaGPT/bilingual-lm")
5model = AutoModelForCausalLM.from_pretrained("KothaGPT/bilingual-lm")
6
7# Load classifier
8classifier = AutoModelForSequenceClassification.from_pretrained("KothaGPT/readability-classifier")1models = {
2 "sentiment": "KothaGPT/sentiment-tone-classifier",
3 "readability": "KothaGPT/readability-classifier",
4 "complexity": "KothaGPT/text-complexity-predictor"
5}
6
7for task, model_name in models.items():
8 # Load and process
9 passmodels/ directorybash scripts/huggingface/publish_all.sh false