OpenLab-NLP/triplet-data
Viewer โข Updated โข 1.03M โข 25
Run OpenLab-NLP/openlem2-retrieval-qa 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:
Use HF Jobs to fine-tune https://huggingface.co/OpenLab-NLP/openlem2-retrieval-qa. 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.
Use HF Jobs to run batch inference with https://huggingface.co/OpenLab-NLP/openlem2-retrieval-qa 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.
How to use OpenLab-NLP/openlem2-retrieval-qa 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-retrieval-qa")
Base model
OpenLab-NLP/openlem2