Label int64 | Text string |
|---|---|
0 | Dude how do you like the buff wind. |
0 | Tessy..pls do me a favor. Pls convey my birthday wishes to Nimya..pls dnt forget it. Today is her birthday Shijas |
1 | Reminder: You have not downloaded the content you have already paid for. Goto http://doit. mymoby. tv/ to collect your content. |
1 | Got what it takes 2 take part in the WRC Rally in Oz? U can with Lucozade Energy! Text RALLY LE to 61200 (25p), see packs or lucozade.co.uk/wrc & itcould be u! |
1 | Shop till u Drop, IS IT YOU, either 10K, 5K, £500 Cash or £100 Travel voucher, Call now, 09064011000. NTT PO Box CR01327BT fixedline Cost 150ppm mobile vary |
0 | Am on a train back from northampton so i'm afraid not! I'm staying skyving off today ho ho! Will be around wednesday though. Do you fancy the comedy club this week by the way? |
0 | Dude. What's up. How Teresa. Hope you have been okay. When i didnt hear from these people, i called them and they had received the package since dec <#> . Just thot you'ld like to know. Do have a fantastic year and all the best with your reading. Plus if you can really really Bam first aid for Usmle, then your w... |
1 | Hi, the SEXYCHAT girls are waiting for you to text them. Text now for a great night chatting. send STOP to stop this service |
0 | I've got <#> , any way I could pick up? |
0 | Quite late lar... Ard 12 anyway i wun b drivin... |
0 | I'm good. Have you registered to vote? |
0 | Beautiful truth : Expression of the face could Be seen by everyone... But the depression of heart Could be understood only By the Loved ones.. Gud Ni8;-) |
0 | At what time are you coming. |
1 | SMS AUCTION - A BRAND NEW Nokia 7250 is up 4 auction today! Auction is FREE 2 join & take part! Txt NOKIA to 86021 now! |
0 | Alex knows a guy who sells mids but he's down in south tampa and I don't think I could set it up before like 8 |
0 | Alright, we're all set here, text the man |
1 | Orange customer, you may now claim your FREE CAMERA PHONE upgrade for your loyalty. Call now on 0207 153 9996. Offer ends 14thMarch. T&C's apply. Opt-out availa |
1 | Think ur smart ? Win £200 this week in our weekly quiz, text PLAY to 85222 now!T&Cs WinnersClub PO BOX 84, M26 3UZ. 16+. GBP1.50/week |
0 | Hey company elama po mudyadhu. |
1 | Eerie Nokia tones 4u, rply TONE TITLE to 8007 eg TONE DRACULA to 8007 Titles: GHOST, ADDAMSFA, MUNSTERS, EXORCIST, TWILIGHT www.getzed.co.uk POBox36504W45WQ 150p |
1 | accordingly. I repeat, just text the word ok on your mobile phone and send |
1 | Todays Vodafone numbers ending with 4882 are selected to a receive a £350 award. If your number matches call 09064019014 to receive your £350 award. |
0 | I want to sent <#> mesages today. Thats y. Sorry if i hurts |
0 | Moji just informed me that you saved our lives. Thanks. |
1 | XMAS Prize draws! We are trying to contact U. Todays draw shows that you have won a £2000 prize GUARANTEED. Call 09058094565 from land line. Valid 12hrs only |
0 | He is impossible to argue with and he always treats me like his sub, like he never released me ... Which he did and I will remind him of that if necessary |
0 | My friends use to call the same. |
0 | Do you like shaking your booty on the dance floor? |
1 | Urgent! Please call 09061213237 from landline. £5000 cash or a luxury 4* Canary Islands Holiday await collection. T&Cs SAE PO Box 177. M227XY. 150ppm. 16+ |
0 | When u wana see it then |
1 | U are subscribed to the best Mobile Content Service in the UK for £3 per 10 days until you send STOP to 82324. Helpline 08706091795 |
1 | Dear Voucher Holder, 2 claim this weeks offer, at your PC go to http://www.e-tlp.co.uk/expressoffer Ts&Cs apply.2 stop texts txt STOP to 80062. |
0 | Ü thk of wat to eat tonight. |
1 | Reply with your name and address and YOU WILL RECEIVE BY POST a weeks completely free accommodation at various global locations www.phb1.com ph:08700435505150p |
0 | Ü called dad oredi... |
0 | Pandy joined 4w technologies today.he got job.. |
0 | Living is very simple.. Loving is also simple.. Laughing is too simple.. Winning is tooo simple.. But, being 'SIMPLE' is very difficult.. Gud nte.:- |
0 | Miserable. They don't tell u that the side effects of birth control are massive gut wrenching cramps for the first 2 months. I didn't sleep at all last night. |
1 | Want to funk up ur fone with a weekly new tone reply TONES2U 2 this text. www.ringtones.co.uk, the original n best. Tones 3GBP network operator rates apply |
0 | Ah, well that confuses things, doesnt it? I thought was friends with now. Maybe i did the wrong thing but i already sort of invited -tho he may not come cos of money. |
1 | Ur cash-balance is currently 500 pounds - to maximize ur cash-in now send GO to 86688 only 150p/msg. CC: 08718720201 PO BOX 114/14 TCR/W1 |
0 | No. I meant the calculation is the same. That <#> units at <#> . This school is really expensive. Have you started practicing your accent. Because its important. And have you decided if you are doing 4years of dental school or if you'll just do the nmde exam. |
1 | Collect your VALENTINE'S weekend to PARIS inc Flight & Hotel + £200 Prize guaranteed! Text: PARIS to No: 69101. www.rtf.sphosting.com |
1 | ree entry in 2 a weekly comp for a chance to win an ipod. Txt POD to 80182 to get entry (std txt rate) T&C's apply 08452810073 for details 18+ |
1 | EASTENDERS TV Quiz. What FLOWER does DOT compare herself to? D= VIOLET E= TULIP F= LILY txt D E or F to 84025 NOW 4 chance 2 WIN £100 Cash WKENT/150P16+ |
1 | You are a winner you have been specially selected to receive £1000 cash or a £2000 award. Speak to a live operator to claim call 087123002209am-7pm. Cost 10p |
1 | Win a £1000 cash prize or a prize worth £5000 |
0 | That would be great. We'll be at the Guild. Could meet on Bristol road or somewhere - will get in touch over weekend. Our plans take flight! Have a good week |
1 | SMS AUCTION - A BRAND NEW Nokia 7250 is up 4 auction today! Auction is FREE 2 join & take part! Txt NOKIA to 86021 now! HG/Suite342/2Lands Row/W1J6HL |
0 | I am in tirupur. call you da. |
0 | Excellent! Wish we were together right now! |
0 | WHEN THE FIRST STRIKE IS A RED ONE. THE BIRD + ANTELOPE BEGIN TOPLAY IN THE FIELDOF SELFINDEPENDENCE BELIEVE THIS + THE FLOWER OF CONTENTION WILL GROW.RANDOM! |
1 | Do you ever notice that when you're driving, anyone going slower than you is an idiot and everyone driving faster than you is a maniac? |
1 | Todays Voda numbers ending 1225 are selected to receive a £50award. If you have a match please call 08712300220 quoting claim code 3100 standard rates app |
0 | Dont hesitate. You know this is the second time she has had weakness like that. So keep i notebook of what she eat and did the day before or if anything changed the day before so that we can be sure its nothing |
1 | Free 1st week entry 2 TEXTPOD 4 a chance 2 win 40GB iPod or £250 cash every wk. Txt POD to 84128 Ts&Cs www.textpod.net custcare 08712405020. |
1 | We tried to contact you re your reply to our offer of a Video Handset? 750 anytime networks mins? UNLIMITED TEXT? Camcorder? Reply or call 08000930705 NOW |
1 | To review and KEEP the fantastic Nokia N-Gage game deck with Club Nokia, go 2 www.cnupdates.com/newsletter. unsubscribe from alerts reply with the word OUT |
1 | As a valued customer, I am pleased to advise you that following recent review of your Mob No. you are awarded with a £1500 Bonus Prize, call 09066364589 |
0 | Ugh y can't u just apologize, admit u were wrong and ask me to take u back? |
1 | 09066362231 URGENT! Your mobile No 07xxxxxxxxx won a £2,000 bonus caller prize on 02/06/03! this is the 2nd attempt to reach YOU! call 09066362231 ASAP! |
0 | I wil be there with in <#> minutes. Got any space |
1 | Someone has contacted our dating service and entered your phone because they fancy you! To find out who it is call from a landline 09111032124 . PoBox12n146tf150p |
1 | PRIVATE! Your 2004 Account Statement for 078498****7 shows 786 unredeemed Bonus Points. To claim call 08719180219 Identifier Code: 45239 Expires 06.05.05 |
1 | WELL DONE! Your 4* Costa Del Sol Holiday or £5000 await collection. Call 09050090044 Now toClaim. SAE, TCs, POBox334, Stockport, SK38xh, Cost£1.50/pm, Max10mins |
1 | cmon babe, make me horny, *turn* me on! Txt me your fantasy now babe -) Im hot, sticky and need you now. All replies cost £1.50. 2 cancel send STOP |
0 | Hope ur head doesn't hurt 2 much ! Am ploughing my way through a pile of ironing ! Staying in with a chinky tonight come round if you like. |
1 | Dorothy@kiefer.com (Bank of Granite issues Strong-Buy) EXPLOSIVE PICK FOR OUR MEMBERS *****UP OVER 300% *********** Nasdaq Symbol CDGT That is a $5.00 per.. |
0 | I'm also came to room. |
0 | What to think no one saying clearly. Ok leave no need to ask her. I will go if she come or not |
0 | Wow so healthy. Old airport rd lor. Cant thk of anything else. But i'll b bathing my dog later. |
0 | My friend just got here and says he's upping his order by a few grams (he's got $ <#> ), when can you get here? |
0 | Nah, I'm a perpetual DD |
0 | Many times we lose our best ones bcoz we are |
1 | URGENT! We are trying to contact U. Todays draw shows that you have won a £800 prize GUARANTEED. Call 09050001295 from land line. Claim A21. Valid 12hrs only |
0 | I'm in chennai velachery:) |
0 | Sometimes Heart Remembrs someone Very much... Forgets someone soon... Bcoz Heart will not like everyone. But liked ones will be Remembered Everytime... BSLVYL |
1 | You won't believe it but it's true. It's Incredible Txts! Reply G now to learn truly amazing things that will blow your mind. From O2FWD only 18p/txt |
0 | Yeah if we do have to get a random dude we need to change our info sheets to PARTY <#> /7 NEVER STUDY just to be safe |
1 | You have an important customer service announcement from PREMIER. |
0 | Send ur birthdate with month and year, I will tel u ur LIFE PARTNER'S name. and the method of calculation. Reply must. |
1 | URGENT! Your Mobile number has been awarded with a £2000 prize GUARANTEED. Call 09058094455 from land line. Claim 3030. Valid 12hrs only |
1 | For taking part in our mobile survey yesterday! You can now have 500 texts 2 use however you wish. 2 get txts just send TXT to 80160 T&C www.txt43.com 1.50p |
0 | Ha ha - had popped down to the loo when you hello-ed me. Hello! |
0 | Then we wait 4 u lor... No need 2 feel bad lar... |
1 | Congrats! 2 mobile 3G Videophones R yours. call 09063458130 now! videochat wid your mates, play java games, Dload polyPH music, noline rentl. |
0 | Did u turn on the heater? The heater was on and set to <#> degrees. |
0 | said kiss, kiss, i can't do the sound effects! He is a gorgeous man isn't he! Kind of person who needs a smile to brighten his day! |
1 | Someone has contacted our dating service and entered your phone becausethey fancy you! To find out who it is call from a landline 09058098002. PoBox1, W14RG 150p |
0 | Lol u still feeling sick? |
0 | Its ok..come to my home it vl nice to meet and v can chat.. |
1 | PRIVATE! Your 2003 Account Statement for shows 800 un-redeemed S. I. M. points. Call 08715203694 Identifier Code: 40533 Expires 31/10/04 |
1 | Welcome! Please reply with your AGE and GENDER to begin. e.g 24M |
1 | You are being ripped off! Get your mobile content from www.clubmoby.com call 08717509990 poly/true/Pix/Ringtones/Games six downloads for only 3 |
0 | K. I will sent it again |
0 | Ahhh. Work. I vaguely remember that! What does it feel like? Lol |
1 | URGENT. Important information for 02 user. Today is your lucky day! 2 find out why , log onto http://www.urawinner.com there is a fantastic surprise awaiting you ! |
1 | Refused a loan? Secured or Unsecured? Can't get credit? Call free now 0800 195 6669 or text back 'help' & we will! |
0 | Okay name ur price as long as its legal! Wen can I pick them up? Y u ave x ams xx |
0 | Where are you?when wil you reach here? |
End of preview. Expand in Data Studio
SMS Spam Collection (Balanced)
A balanced SMS spam dataset for text classification.
Overview
| Property | Value |
|---|---|
| Total Samples | 1,494 |
| Train | 1,045 (70%) |
| Validation | 149 (10%) |
| Test | 300 (20%) |
| Classes | ham (0), spam (1) |
Dataset Description
This is a balanced version of the UCI SMS Spam Collection dataset. Originally, the dataset had 5,572 messages with an imbalanced distribution (4,825 ham, 747 spam). We balanced it to 747 ham and 747 spam for training efficiency.
Label Distribution (Balanced)
| Label | Count |
|---|---|
| ham (0) | 747 |
| spam (1) | 747 |
Split Distribution
| Split | ham | spam | Total |
|---|---|---|---|
| train | ~522 | ~523 | 1,045 |
| validation | ~75 | ~74 | 149 |
| test | ~150 | ~150 | 300 |
How It Was Created
- Downloaded from UCI Machine Learning Repository
- Balanced by undersampling ham messages to match spam count (747 each)
- Split into train (70%), validation (10%), test (20%) sets
- Converted labels to integers: ham=0, spam=1
Usage with Hugging Face
from datasets import load_dataset
# Load dataset
dataset = load_dataset("mustafaege/sms-spam-balanced")
# Access splits
train_data = dataset['train']
val_data = dataset['validation']
test_data = dataset['test']
# Example
print(train_data[0])
# {'Text': 'Go until jurong point, crazy..', 'Label': 0}
Usage with Pandas
from datasets import load_dataset
dataset = load_dataset("mustafaege/sms-spam-balanced")
# Convert to pandas
train_df = dataset['train'].to_pandas()
print(train_df.head())
Fields
| Field | Type | Description |
|---|---|---|
| Text | string | SMS message text |
| Label | int | 0 = ham (not spam), 1 = spam |
Example Messages
Ham (Label 0)
- "Go until jurong point, crazy.."
- "Ok lar... Joking wif u oni..."
- "U dun say so early hor..."
Spam (Label 1)
- "Free entry in 2 a wkly comp to win FA Cup final..."
- "Had your contract mobile 11 Mnths? Latest Moto..."
- "This is the 2nd time we have tried to contact u..."
For Fine-tuning
This dataset is designed for fine-tuning LLMs for spam detection.
Training Details Used
- Epochs: 5
- Batch Size: 16
- Learning Rate: 2e-5
- Optimizer: AdamW
- Loss Function: CrossEntropyLoss
Results
| Metric | Score |
|---|---|
| Test Accuracy | ~95% |
| Validation Accuracy | ~95%+ |
Companion Model
Model: mustafaege/spam-detector-gpt2-hf
License
The original UCI SMS Spam Collection dataset is available under the UCI Machine Learning Repository terms.
References
- Original Dataset: UCI SMS Spam Collection
- Downloads last month
- 21