Instructions to use Finisha-F-scratch/LilyStory with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Finisha-F-scratch/LilyStory with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Finisha-F-scratch/LilyStory")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Finisha-F-scratch/LilyStory") model = AutoModelForCausalLM.from_pretrained("Finisha-F-scratch/LilyStory") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use Finisha-F-scratch/LilyStory with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Finisha-F-scratch/LilyStory" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Finisha-F-scratch/LilyStory", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Finisha-F-scratch/LilyStory
- SGLang
How to use Finisha-F-scratch/LilyStory 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/LilyStory" \ --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": "Finisha-F-scratch/LilyStory", "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 "Finisha-F-scratch/LilyStory" \ --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": "Finisha-F-scratch/LilyStory", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Finisha-F-scratch/LilyStory with Docker Model Runner:
docker model run hf.co/Finisha-F-scratch/LilyStory
Vérification programme IA friends
Bonjour clémence!
J'ai tester l'IA ici présente : LilyStory.
Sur 5 inférences !
Et j'ai fait mon choix.
J'ai été impressionné par sa capacité a être cohérente (anglais simple, et légèrement déconstruit mais compréhensible), malgres sa taille de 122k de paramètres !
la majorité des IA de cette taille ne savent que dire : susjsjdjdjjsjsjsjsus (breff des lettres mélanges sans aucun sens).
Donc j'ai trouvé ça bluffant!
Même si les histoires sont un peu lunaires (désolé),
genre ça change de personnes et de points de vue en 2 seconde sans prévenir,
Et que Lily ne fait pas la différence entre une fille ou un garçon "Little girl nommed Tommy" ou "little boy nommed lily", "she" qui passe a "he" d'un coup.
C'est quand même parfait! Car on comprend quand même le déroulé, c'est fluide, et ca ajoute même de l'originalité !
bref ..je t'annonce que LilyStory est vérifié