jpmorganchase / llm-email-spam-detection Goto Github PK
View Code? Open in Web Editor NEWLLM for Email Spam Detection
License: Apache License 2.0
LLM for Email Spam Detection
License: Apache License 2.0
Hello, can you tell me the machine configuration parameters you use when running the code? After I ran the RoBERTa model training on the LING data set using the V100 graphics card on colab pro, I was prompted to run out of memory.
Error message:
OutOfMemoryError Traceback (most recent call last)
in ()
17
18 # Train LLMs
---> 19 train_llms(
20 list(range(5)),
21 ["ling", "sms", "spamassassin", "enron"],
19 frames
/ usr/local/lib/python3.10 / dist - packages/transformers/activations. Py in forward (self, input)
55
56 def forward(self, input: Tensor) -> Tensor:
---> 57 return self.act(input)
58
59
OutOfMemoryError: CUDA out of memory. Tried to allocate 72.00 MiB (GPU 0; 15.77 GiB total capacity; 14.60 GiB already allocated; 46.12 MiB free; 14.75 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
If it is convenient for you, can you disclose the output records generated by your training in the paper.
Thank you very much for your attention to this issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.