Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
sentence-transformers
/
sentence-t5-base
like
45
Follow
Sentence Transformers
710
Sentence Similarity
sentence-transformers
PyTorch
Rust
Safetensors
English
t5
feature-extraction
Inference Endpoints
arxiv:
2108.08877
License:
apache-2.0
Model card
Files
Files and versions
Community
6
Train
Deploy
Use this model
be43326
sentence-t5-base
/
convert_to_fp16.py
nreimers
upload
86e4ec2
almost 3 years ago
raw
Copy download link
history
blame
Safe
198 Bytes
import
sys
from
transformers
import
T5EncoderModel
in_path = sys.argv[
1
]
out_path = sys.argv[
2
]
model = T5EncoderModel.from_pretrained(in_path)
model.half()
model.save_pretrained(out_path)