Instructions to use BIaoo/lca-qwen3-ft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use BIaoo/lca-qwen3-ft with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("BIaoo/lca-qwen3-ft") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - llama-cpp-python
How to use BIaoo/lca-qwen3-ft with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="BIaoo/lca-qwen3-ft", filename="lca-qwen3-st-finetuned-f16.gguf", )
llm.create_chat_completion( messages = "{\n \"source_sentence\": \"That is a happy person\",\n \"sentences\": [\n \"That is a happy dog\",\n \"That is a very happy person\",\n \"Today is a sunny day\"\n ]\n}" ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use BIaoo/lca-qwen3-ft with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf BIaoo/lca-qwen3-ft:F16 # Run inference directly in the terminal: llama-cli -hf BIaoo/lca-qwen3-ft:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf BIaoo/lca-qwen3-ft:F16 # Run inference directly in the terminal: llama-cli -hf BIaoo/lca-qwen3-ft:F16
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf BIaoo/lca-qwen3-ft:F16 # Run inference directly in the terminal: ./llama-cli -hf BIaoo/lca-qwen3-ft:F16
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf BIaoo/lca-qwen3-ft:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf BIaoo/lca-qwen3-ft:F16
Use Docker
docker model run hf.co/BIaoo/lca-qwen3-ft:F16
- LM Studio
- Jan
- Ollama
How to use BIaoo/lca-qwen3-ft with Ollama:
ollama run hf.co/BIaoo/lca-qwen3-ft:F16
- Unsloth Studio new
How to use BIaoo/lca-qwen3-ft with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for BIaoo/lca-qwen3-ft to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for BIaoo/lca-qwen3-ft to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for BIaoo/lca-qwen3-ft to start chatting
- Pi new
How to use BIaoo/lca-qwen3-ft with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf BIaoo/lca-qwen3-ft:F16
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "BIaoo/lca-qwen3-ft:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use BIaoo/lca-qwen3-ft with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf BIaoo/lca-qwen3-ft:F16
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default BIaoo/lca-qwen3-ft:F16
Run Hermes
hermes
- Docker Model Runner
How to use BIaoo/lca-qwen3-ft with Docker Model Runner:
docker model run hf.co/BIaoo/lca-qwen3-ft:F16
- Lemonade
How to use BIaoo/lca-qwen3-ft with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull BIaoo/lca-qwen3-ft:F16
Run and chat with the model
lemonade run user.lca-qwen3-ft-F16
List all available models
lemonade list
LCA Qwen3 ST Fine-Tuned Model
This directory contains a Sentence Transformers v3 model obtained by fine-tuning
Qwen/Qwen3-Embedding-0.6B on a proprietary life-cycle assessment (LCA) corpus.
It maps sentences and short paragraphs to 1024-dimensional embeddings for tasks
such as semantic search, similarity ranking, and clustering.
Model Details
- Architecture: Transformer encoder + last-token pooling + L2 normalization
- Max sequence length: 1024 tokens
- Embedding dimension: 1024
- Similarity function: Cosine similarity
- Training objective: MultipleNegativesRankingLoss
Module Stack
SentenceTransformer(
(0): Transformer({'max_seq_length': 1024, 'do_lower_case': False, 'architecture': 'Qwen3Model'})
(1): Pooling({'word_embedding_dimension': 1024, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': True, 'include_prompt': True})
(2): Normalize()
)
Usage
Install the dependency and load the local model directory:
pip install -U sentence-transformers
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("BIaoo/lca-qwen3-ft")
queries = [
"wood residue gasification heat recovery",
"magnesium alloy diecasting emissions",
]
documents = [
"Report describing small-scale biomass CHP units used for district heating.",
"Manufacturing note that summarizes casting emissions for AZ91 components.",
]
query_embs = model.encode(queries, normalize_embeddings=True)
doc_embs = model.encode(documents, normalize_embeddings=True)
scores = (query_embs @ doc_embs.T)
print(scores)
Training Data Overview
- Pairs: 86,268
(anchor, positive)text pairs - Anchor length: short queries (median ≈ 12 tokens)
- Positive length: paragraph passages (median ≈ 480 tokens)
- Source: Internally curated LCA documents and structured metadata
- Data release: Individual passages are proprietary and therefore omitted from this README.
Training Configuration
- Epochs: 2
- Batch size: 16 (NO_DUPLICATES sampler)
- Learning rate: 1e-5 with linear warmup (10%)
- Weight decay: 0.01
- Precision: bfloat16
- Gradient checkpointing: disabled (single-GPU run)
- Seed: 42
Limitations & Notes
- The model inherits any biases or gaps present in the proprietary LCA corpus.
- It has been tuned for English technical text; performance may degrade on other languages.
- While embeddings are normalized, downstream pipelines should still apply task-specific evaluation before deployment.
Files in This Directory
config.json,sentence_bert_config.json,modules.json: model definitionsmodel.safetensors: learned weightstokenizer.json,vocab.json,merges.txt,special_tokens_map.json: tokenizer assets1_Pooling/,2_Normalize/: Sentence Transformers module metadata
- Downloads last month
- 44