alexandre-co commited on
Commit
9bc3033
·
1 Parent(s): f976971

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +30 -0
README.md CHANGED
@@ -1,3 +1,33 @@
1
  ---
2
  license: apache-2.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
  ---
4
+
5
+ # Graphcore/sentence-t5-base
6
+
7
+ Optimum Graphcore is a new open-source library and toolkit that enables developers to access IPU-optimized models certified by Hugging Face. It is an extension of Transformers, providing a set of performance optimization tools enabling maximum efficiency to train and run models on Graphcore’s IPUs - a completely new kind of massively parallel processor to accelerate machine intelligence. Learn more about how to take train Transformer models faster with IPUs at [hf.co/hardware/graphcore](https://huggingface.co/hardware/graphcore).
8
+
9
+ Through HuggingFace Optimum, Graphcore released ready-to-use IPU-trained model checkpoints and IPU configuration files to make it easy to train models with maximum efficiency in the IPU. Optimum shortens the development lifecycle of your AI models by letting you plug-and-play any public dataset and allows a seamless integration to our State-of-the-art hardware giving you a quicker time-to-value for your AI project.
10
+
11
+
12
+ ## Model description
13
+
14
+ Sentence-t5 is a sentence-transformers model: It maps sentences & paragraphs to a 768 dimensional dense vector space. The model works well for sentence similarity tasks, but doesn't perform that well for semantic search tasks.
15
+
16
+ This model was converted from the Tensorflow model st5-base-1 to PyTorch. When using this model, have a look at the publication: Sentence-T5: Scalable sentence encoders from pre-trained text-to-text models. The tfhub model and this PyTorch model can produce slightly different embeddings, however, when run on the same benchmarks, they produce identical results.
17
+
18
+ The model uses only the encoder from a T5-base model. The weights are stored in FP16.
19
+
20
+ ## Intended uses & limitations
21
+
22
+ This model contains just the `IPUConfig` files for running the `sentence-t5-base` model (e.g. [sentence-transformers/sentence-t5-base](https://huggingface.co/sentence-transformers/sentence-t5-base)) on Graphcore IPUs.
23
+
24
+ **This model contains no model weights, only an IPUConfig.**
25
+
26
+ ## Usage
27
+
28
+ ```
29
+ from optimum.graphcore import IPUConfig
30
+ from transformers import T5EncoderModel
31
+ ipu_config = IPUConfig.from_pretrained("Graphcore/sentence-t5-base")
32
+ model = T5EncoderModel.from_pretrained("sentence-transformers/sentence-t5-base")
33
+ ```