Welcome to fastnr.io
A new tool for efficient language modeling
We're setting up a few useful tools for language data processing:
- Gliner2 compatible endpoints for NER, classification, and more,
- LLM usage,
- Text embeddings.
Quick Start
1. Install the CLI
Install the Fastnr CLI using cargo:
wget https://fastnr.io/cli/0.1.0/fastnr_linux_amd64 ~/bin/fastnr
2. Authenticate
Log in to your account via the CLI:
fastnr auth login
3. Use the API
With the CLI
echo "{"input": "Apple Inc. was founded by Steve Jobs", "labels": ["PERSON", "ORG"]}" | fastnr
4. Using the API directly
Directly query the API with curl using an API token from the app:
curl -X POST https://api.fastnr.io/v1/ner \
-H "Authorization: Bearer $FASTNR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "Apple Inc. was founded by Steve Jobs", "labels": ["PERSON", "ORG"]}'
Check out the API documentation for more details and interactive examples.