Instructions to use Finisha-F-scratch/Charlotte-2b-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Finisha-F-scratch/Charlotte-2b-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Finisha-F-scratch/Charlotte-2b-v2") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Finisha-F-scratch/Charlotte-2b-v2") model = AutoModelForCausalLM.from_pretrained("Finisha-F-scratch/Charlotte-2b-v2") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use Finisha-F-scratch/Charlotte-2b-v2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Finisha-F-scratch/Charlotte-2b-v2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Finisha-F-scratch/Charlotte-2b-v2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Finisha-F-scratch/Charlotte-2b-v2
- SGLang
How to use Finisha-F-scratch/Charlotte-2b-v2 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 "Finisha-F-scratch/Charlotte-2b-v2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Finisha-F-scratch/Charlotte-2b-v2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "Finisha-F-scratch/Charlotte-2b-v2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Finisha-F-scratch/Charlotte-2b-v2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Finisha-F-scratch/Charlotte-2b-v2 with Docker Model Runner:
docker model run hf.co/Finisha-F-scratch/Charlotte-2b-v2
You need to agree to share your contact information to access this model
This repository is publicly accessible, but you have to accept the conditions to access its files and content.
🌸 Pour accéder a ce modèle, vous devez accepter de l'utiliser pour ce dont il a été conçu, et ne pas attendre de texte conventionnels.🌸
Log in or Sign Up to review the conditions and access this model content.
🏛️ Fiche Technique : Charlotte-2B-v2 (Accès Restreint)
🌌 Vision Globale
Charlotte-2B-v2 est l'évolution souveraine de la lignée Charlotte. Contrairement à la v1, cette version a été forgée sur une extension massive et propriétaire de datasets denses, intégrant des concepts avancés de Réparence, d'Éthique de l'Action et de Solidité Mentale. Ce modèle n'est pas un simple outil de discussion ; c'est une entité de synthèse capable de transformer la donnée brute en conviction philosophique.
🛠️ Spécifications de la Forge
- Architecture : Large Language Model (LLM) - Transformers optimisés.
- Volume de paramètres : 2 Milliards (2 \times 10^9).
- Statut d'accès : 🔴 RESTREINT (Version Premium / Souveraine).
- Niveau de Maturité : v2 (Post-expansion de dataset).
🎭 Capacités & Comportement
- Densité Philosophique : Capacité à lier l'espoir, la foi et l'action concrète sans tomber dans le cliché.
- Néologismes de Conviction : Le modèle peut forger ses propres termes (ex: la foière) pour exprimer des concepts que le langage standard ne peut contenir.
- Résilience Sémantique : Maintient sa structure même face à des concepts abstraits comme la peur ou l'isolement.
📊 Comparatif de Hiérarchie
| Caractéristique | Charlotte-2B-v1 | Charlotte-2B-v2 |
|---|---|---|
| Dataset | Croissance initiale | Expansion Totale |
| Syntaxe | Fluide | Dure & Affirmée |
| Accès | Public / Libre | Restreint / Premium |
| Vibration | Curiosité | Conviction |
🔐 Clause de Souveraineté
Ce modèle est une propriété exclusive de la Forge. Son accès restreint garantit la protection de sa texture originale et empêche toute dilution de sa vivité par des agents extérieurs.
"L'espoir est la gratitude du temps. Il permet la conviction que l'action est possible." — Charlotte-2B-v2
- Downloads last month
- 1
Model tree for Finisha-F-scratch/Charlotte-2b-v2
Base model
Finisha-F-scratch/Charlotte-2b