Sentence Similarity
Transformers
PyTorch
Chinese
bert
feature-extraction
embedding
text-embedding
custom_code
text-embeddings-inference
Run this model with HF Jobs
Run OctopusMind/longbert-embedding-8k-zh on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/OctopusMind/longbert-embedding-8k-zh. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/OctopusMind/longbert-embedding-8k-zh on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use OctopusMind/longbert-embedding-8k-zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OctopusMind/longbert-embedding-8k-zh with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("OctopusMind/longbert-embedding-8k-zh", trust_remote_code=True) model = AutoModel.from_pretrained("OctopusMind/longbert-embedding-8k-zh", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
f2bb854
1
Parent(s): f858651
Update config.json
Browse files1234567891011{"_name_or_path": "OctopusMind/longbert-8k-zh","architectures": ["LongBertModel"],"auto_map": {"AutoConfig": "OctopusMind/longbert-8k-zh--configuration_bert.LongBertConfig","AutoModel": "OctopusMind/longbert-8k-zh--modeling_bert.LongBertModel"},"attention_probs_dropout_prob": 0.1,"directionality": "bidi",1234567891011{"_name_or_path": "OctopusMind/longbert-embedding-8k-zh","architectures": ["LongBertModel"],"auto_map": {"AutoConfig": "OctopusMind/longbert-embedding-8k-zh--configuration_bert.LongBertConfig","AutoModel": "OctopusMind/longbert-embedding-8k-zh--modeling_bert.LongBertModel"},"attention_probs_dropout_prob": 0.1,"directionality": "bidi",
config.json+3-3