Binary questions no processing needed?

paw: <p>hello,<br>
I don’t know if I need nlp for a problem I have with a large audio data set.<br>
let me explain why.<br>
I only need to find all relationships between a specific outcome that is influenced by 20 hours of audio data.<br>
The words in english, spanish, french DO mater, and they DO influence the results.<br>
however,</p>
<ol>
<li>my cost to run will approach smaller and smaller cost as I will be constructing my own data lab in the next 5 years.</li>
<li>getting it most accurate is the max concern and want to learn as much about the design and ideas as possible.</li>
</ol>
<p>would running a find all relationships method a-sync on a massive data center be the right answer instead of translating it to words.</p>
<p>I am a novice at this. I will be working with you guys on here a lot for a while I hope.</p>
<p>I want to make sure I start the design the right way to expand the training module with more and more data, but I want ALL relationships, even ones I can’t understand like the tone and inflection in the voice.<br>
(may cut it to mono and low bit rate to run it quicker?)</p>
<p>basically would I not need to train the model on how to “understand” the language, only that this data made this result to get the max amount of relationships possible to find?</p>
<p>look forward to chatting a lot!<br>
thanks all in advance.</p>

J_Johnson: <p>For binary problems, you just put 1 for the <code>out_features</code> of the final layer, then run it through an <code>nn.Sigmoid()</code> activation layer. Finally, run that and your target through <code>nn.BCELoss()</code> as your loss function.</p>
<p>As far as model structure before that and whether or not to use a pre-trained NLP model, you will likely need to experiment with your data and various setups to make a determination of what is the most suitable method for finding a best fit.</p>

KFrank: <p>Hi Paw and Jay!</p>
<aside class="quote no-group" data-username="J_Johnson" data-post="2" data-topic="170808" data-full="true">
<div class="title">
<div class="quote-controls"></div>
<img loading="lazy" alt="" width="24" height="24" src="https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/j_johnson/48/55494_2.png" class="avatar"> J_Johnson:</div>
<blockquote>
<p>For binary problems, you just put 1 for the <code>out_features</code> of the final layer, then run it through an <code>nn.Sigmoid()</code> activation layer. Finally, run that and your target through <code>nn.BCELoss()</code> as your loss function.</p>
</blockquote>
</aside>
<p>As an aside, you will almost always (always, as far as I know) be better off<br>
using <code>BCEWithLogitsLoss</code> without the <code>Sigmoid</code> (instead of <code>BCELoss</code>).  The<br>
two approaches are <em>mathematically</em> equivalent, but <code>BCEWithLogitsLoss</code><br>
is better behave numerically (the core problem being that <code>Sigmoid</code> can easily<br>
saturate).</p>
<p>Best.</p>
<p>K. Frank</p>

paw: <p>I will try exploring both after data prep! I have been trying to prep my data right now and the examples I’ve seen seem to have the flags of what the data is as the name of the files? If I want to use the most types of binary transforms do I try to put them in separate folders or make the names of the files simply true.mp3 or false.mp3 ?<br>
To use the most ai methods.<br>
also, does each sample need to be same length quality and bit rate to not confuse model I would guess but have no technical background in this and if I can save myself a few months prep time by using miss mached data (still all labled true or false but of different quality, length etc) its okay if system cant handel that just trying to make sure I’m not wasting time trying to make them all same .</p>