You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
First of all, thank you so much for providing this wonderful library. It has been incredibly helpful for various use cases, and I appreciate all the work that went into creating and maintaining it.
I’m currently trying to calculate perplexity with ctranslate2-rs for a GPT-like model by using the Generator class. However, I cannot find any function equivalent to the score_batch method from the original CTranslate2 library (specifically for the Generator). The ctranslate2-rs crate seems to focus primarily on translation tasks, and I can’t seem to find any scoring or perplexity-related methods for the Generator.
Is there currently any way to compute perplexity in ctranslate2-rs, or is this functionality missing? If so, are there plans to add a score_batch-like function to the Generator class? Any guidance or workarounds for GPT-like perplexity calculations would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
Currently, scoring functions haven't been implemented yet. However, it seems like adding score_batch to Generator wouldn't be difficult, and I'll add them soon.
Hello,
First of all, thank you so much for providing this wonderful library. It has been incredibly helpful for various use cases, and I appreciate all the work that went into creating and maintaining it.
I’m currently trying to calculate perplexity with ctranslate2-rs for a GPT-like model by using the
Generator
class. However, I cannot find any function equivalent to thescore_batch
method from the original CTranslate2 library (specifically for the Generator). The ctranslate2-rs crate seems to focus primarily on translation tasks, and I can’t seem to find any scoring or perplexity-related methods for theGenerator
.Is there currently any way to compute perplexity in ctranslate2-rs, or is this functionality missing? If so, are there plans to add a
score_batch
-like function to theGenerator
class? Any guidance or workarounds for GPT-like perplexity calculations would be greatly appreciated.The text was updated successfully, but these errors were encountered: