Instructions to use FinchResearch/Manish-1b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FinchResearch/Manish-1b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="FinchResearch/Manish-1b")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("FinchResearch/Manish-1b") model = AutoModelForCausalLM.from_pretrained("FinchResearch/Manish-1b") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use FinchResearch/Manish-1b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "FinchResearch/Manish-1b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FinchResearch/Manish-1b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/FinchResearch/Manish-1b
- SGLang
How to use FinchResearch/Manish-1b 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 "FinchResearch/Manish-1b" \ --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": "FinchResearch/Manish-1b", "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 "FinchResearch/Manish-1b" \ --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": "FinchResearch/Manish-1b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use FinchResearch/Manish-1b with Docker Model Runner:
docker model run hf.co/FinchResearch/Manish-1b
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("FinchResearch/Manish-1b")
model = AutoModelForCausalLM.from_pretrained("FinchResearch/Manish-1b")Model Card: Manish Text Generation Model
Overview
Name: Manish Text Generation Model
Model Type: Text Generation
Model Size: 1 billion parameters
Base Framework: Astrid 1 billion
Functionality: Text generation
Description
Manish is a text generation model designed to creatively produce textual content across various domains. With a substantial architecture of 1 billion parameters, Manish is built upon the Astrid 1 billion framework. It excels in generating diverse and uncensored text, exploring a wide range of topics and writing styles.
Use Cases
- Creative writing and content generation
- Fiction and storytelling
- Poetry and prose
- Generating product descriptions
- Exploring alternative writing styles
Strengths
- Robust architecture for high-quality text generation
- Versatile in producing various writing forms
- Proficient in imaginative and creative text creation
- Adaptable to different tones and genres
Limitations
- Primarily focused on text generation
- Uncensored nature might result in content that needs review
- Limited contextual understanding beyond the training data
Ethical Considerations
Manish's text generation may result in uncensored content that should be reviewed for alignment with ethical and social guidelines. It is designed to encourage creativity, but users should be cautious when sharing or publishing the generated text.
- Downloads last month
- 6
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="FinchResearch/Manish-1b")