[Documentation] Add examples to Rust bindings #14852
Labels
documentation
improvements or additions to documentation; typically submitted using template
model:transformer
issues related to a transformer model: BERT, GPT2, Hugging Face, Longformer, T5, etc.
more info needed
issues that cannot be triaged until more information is submitted by the original user
Describe the documentation issue
Now that the Rust bindings for the ONNX runtime (#12606), it would be useful to have examples. I know there are a couple of files like this one but there are none for other models or other types of inference like for summarization.
Although I'm not very proficient in Rust, I've tried crafting a working example for summarization that is not quite right. My suspicion is that it is because the model I'm using (GPT-2) doesn't have the correct
vocab.json
andmerges.txt
files.The full example with instructions for setup is here https://github.com/alfredodeza/rust-onnx-summarization
I'm happy to volunteer to help out and draft the wording and any additions if we can get at least the summarizer example working.
Page / URL
No response
The text was updated successfully, but these errors were encountered: