Instructions to use OpenLab-NLP/openlem2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use OpenLab-NLP/openlem2 with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://OpenLab-NLP/openlem2") - Notebooks
- Google Colab
- Kaggle
Upload 2 files
Browse files- bpe.model +3 -0
- encoder_simcse.weights.h5 +3 -0
bpe.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b47e2bf95c06d31f66d912fc82e0867c2ef0d085686bef45835a07a484cbcd21
|
| 3 |
+
size 808727
|
encoder_simcse.weights.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:661d333eefe00a80fa9ffa38a4e9e07dab328988195c16cb05f5d816b643eb22
|
| 3 |
+
size 60388880
|