Text Generation
Transformers
English
phi3
finance
entity-extraction
ner
phi-3
production
indian-banking
custom_code
4-bit precision
Instructions to use Ranjit0034/finance-entity-extractor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ranjit0034/finance-entity-extractor with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Ranjit0034/finance-entity-extractor", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Ranjit0034/finance-entity-extractor", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("Ranjit0034/finance-entity-extractor", trust_remote_code=True) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Ranjit0034/finance-entity-extractor with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Ranjit0034/finance-entity-extractor" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Ranjit0034/finance-entity-extractor", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Ranjit0034/finance-entity-extractor
- SGLang
How to use Ranjit0034/finance-entity-extractor 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 "Ranjit0034/finance-entity-extractor" \ --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": "Ranjit0034/finance-entity-extractor", "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 "Ranjit0034/finance-entity-extractor" \ --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": "Ranjit0034/finance-entity-extractor", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Ranjit0034/finance-entity-extractor with Docker Model Runner:
docker model run hf.co/Ranjit0034/finance-entity-extractor
Commit History
Upload src/finee/__init__.py with huggingface_hub fd25f34 verified
Upload src/finee/ui.py with huggingface_hub 656419f verified
Upload src/finee/api.py with huggingface_hub e729c58 verified
Upload src/finee/rag.py with huggingface_hub 123b3e7 verified
Upload models/v8-mlx/config.json with huggingface_hub 972ec0d verified
Upload models/finetuned-v1/model.safetensors.index.json with huggingface_hub 7b319f3 verified
Upload models/finetuned-v1/sample_finetune.py with huggingface_hub cf71fcf verified
Upload models/finetuned-v1/configuration_phi3.py with huggingface_hub 0a1dd6e verified
Upload models/finetuned-v1/model-00002-of-00002.safetensors with huggingface_hub 20f8cd5 verified
Upload models/finetuned-v1/chat_template.jinja with huggingface_hub 0a05587 verified
Upload models/finetuned-v1/README.md with huggingface_hub f49623f verified
Upload models/finetuned-v1/tokenizer.model with huggingface_hub 779b7ce verified
Upload models/finetuned-v1/generation_config.json with huggingface_hub c03a391 verified
Upload models/finetuned-v1/modeling_phi3.py with huggingface_hub c3c970c verified
Upload models/finetuned-v1/tokenizer.json with huggingface_hub d872284 verified
Upload models/finetuned-v1/config.json with huggingface_hub 1d4c957 verified
Upload models/finetuned-v1/model-00001-of-00002.safetensors with huggingface_hub fcea810 verified
Upload models/finetuned-v1/special_tokens_map.json with huggingface_hub 1884419 verified
Upload models/finetuned-v1/tokenizer_config.json with huggingface_hub 89b6bcc verified
Upload models/finetuned-v1/added_tokens.json with huggingface_hub c5b64c9 verified
Upload models/v8-mlx/model.safetensors.index.json with huggingface_hub 1efcb98 verified
Upload models/v8-mlx/sample_finetune.py with huggingface_hub 4875845 verified
Upload models/v8-mlx/configuration_phi3.py with huggingface_hub 06f441a verified
Upload models/v8-mlx/chat_template.jinja with huggingface_hub d14b864 verified
Upload models/v8-mlx/README.md with huggingface_hub 546c2b7 verified
Upload models/v8-mlx/tokenizer.model with huggingface_hub ee435d9 verified
Upload models/v8-mlx/generation_config.json with huggingface_hub c12aaee verified
Upload models/v8-mlx/modeling_phi3.py with huggingface_hub f46b950 verified
Upload models/v8-mlx/tokenizer.json with huggingface_hub 03bd6cd verified
Upload models/v8-mlx/config.json with huggingface_hub 47f3f1f verified
Upload models/v8-mlx/special_tokens_map.json with huggingface_hub 03112e9 verified
Upload models/v8-mlx/tokenizer_config.json with huggingface_hub 4d4c324 verified
Upload models/v8-mlx/added_tokens.json with huggingface_hub 81f8401 verified
Upload models/v8-mlx/model.safetensors with huggingface_hub ae64eba verified
Upload folder using huggingface_hub 6aaa4e0 verified
Upload folder using huggingface_hub 4ff5949 verified
Upload folder using huggingface_hub bdbe6ed verified
Upload folder using huggingface_hub dd62c09 verified
docs: Update CHANGELOG for v1.1.0 release 438d5f9
Ranjit Behera commited on
feat: Add comprehensive data pipeline and fine-tuning 9101d7e
Ranjit Behera commited on
Merge branch 'main' into develop 3a80a66
Ranjit Behera commited on
docs: clarify hybrid architecture (Regex default + optional LLM) abe155c
Ranjit Behera commited on
docs: clarify hybrid architecture (Regex default + optional LLM) 810c162
Ranjit Behera commited on
Merge pull request #1 from Ranjitbehera0034/develop f21393f unverified
Ranjitbehera0034 commited on
chore: add CHANGELOG.md, release script, and strict workflow 2b1ff82
Ranjit Behera commited on
docs: add CONTRIBUTING.md with branching strategy 7b52500
Ranjit Behera commited on
v1.0.3 - Add Lakhs notation, improved edge case handling 1eeb36e
Ranjit Behera commited on
Clean up repo structure and add benchmark 6a76e07
Ranjit Behera commited on
Fix: Default to regex-only mode for instant usage c876830
Ranjit Behera commited on