Βασίλης Βαλατσός<p>Hey <span class="h-card"><a href="https://mastodon.online/@thunderbird" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>thunderbird</span></a></span></p><p>If you want, you can try out <a href="https://social.apotheke.earth/tags/alectors" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>alectors</span></a>, my NLRL library, for <a href="https://social.apotheke.earth/tags/spam" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>spam</span></a> or <a href="https://social.apotheke.earth/tags/fraud" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fraud</span></a> <a href="https://social.apotheke.earth/tags/detection" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>detection</span></a> on <a href="https://social.apotheke.earth/tags/emails" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>emails</span></a> for <a href="https://social.apotheke.earth/tags/thundermail" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>thundermail</span></a>.</p><p>Check it out at <a href="https://apotheke.earth/docs/alectors" rel="nofollow noopener noreferrer" target="_blank">https://apotheke.earth/docs/alectors</a></p><p>It uses a pretrained <a href="https://social.apotheke.earth/tags/encoder" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>encoder</span></a> to embed natural language into vector space, and then passes the vectors through a <a href="https://social.apotheke.earth/tags/transformer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>transformer</span></a>-based PPO agent, so that the output can have a custom number of dimentions. This means that rather than having an <a href="https://social.apotheke.earth/tags/llm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LLM</span></a> agent with a <a href="https://social.apotheke.earth/tags/prompt" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>prompt</span></a> "[...] PLEASE OUTPUT PROPER JSON [...]", you can ensure that the output will be one of three, four, or as many actions.as you define.</p><p>The only downside is that you will have to train the agent yourself, as we as come up with an environment (I am working with a friend/colleague on custom nlrl env api, but its pre-prealpha).</p><p>Concerning the license, it is <a href="https://social.apotheke.earth/tags/sourcefirst" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sourcefirst</span></a>, meaning that it has a clause for <a href="https://social.apotheke.earth/tags/fair" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fair</span></a> <a href="https://social.apotheke.earth/tags/compensation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>compensation</span></a> regardimg <a href="https://social.apotheke.earth/tags/commercial" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>commercial</span></a> <a href="https://social.apotheke.earth/tags/use" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>use</span></a>. For this usecase, by <a href="https://social.apotheke.earth/tags/thunderbird" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>thunderbird</span></a>, I would be perfectly happy with simply a <a href="https://social.apotheke.earth/tags/thundermail" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>thundermail</span></a> account so I can leave <a href="https://social.apotheke.earth/tags/fastmail" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fastmail</span></a> and still use all two of my domains for email.</p>