<commit_before>from recommendations.models import Song
from recommendations.models import UserPlaySong
from recommendations.models import User

for line in open('scripts/seed/bigSongEntry.seed', 'r'):
   line =  line.split(',')
   song = Song()
   song.song = line[0]
   song.title = line[1].split('"')[1::2]
   song.album = line[2].split('"')[1::2]
   song.artist = line[3].split('"')[1::2]
   song.year = line[4]
   song.save()

for line in open('scripts/seed/bigUserEntry.seed', 'r'):
   line =  line.split('\t')
   user = User()
   user.user = line[0]
   user.save()
   userPlaySong = UserPlaySong()
   userPlaySong.user_id = line[0]
   userPlaySong.song_id = line[1]<commit_msg>udando script de carregar vando<commit_after>from recommendations.models import Song
from recommendations.models import UserPlaySong
from recommendations.models import User

for line in open('scripts/seed/bigSongEntry.seed', 'r'):
   line =  line.split(',')
   song = Song()
   song.song = line[0]
   song.title = line[1].replace('"', '')
   song.album = line[2].replace('"', '')
   song.artist = line[3].replace('"', '')
   song.year = line[4]
   song.save()

for line in open('scripts/seed/bigUserEntry.seed', 'r'):
   line =  line.split('\t')
   user = User()
   user.user = line[0]
   user.save()
   userPlaySong = UserPlaySong()
   userPlaySong.user_id = line[0]
   userPlaySong.song_id = line[1]
{'fraction_non_alphanumeric': 0.16979768786127167, 'fraction_numerical': 0.015895953757225433, 'mean_word_length': 3.9464285714285716, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5083246', 'n_tokens_mistral': 496, 'n_tokens_neox': 481, 'n_words': 103}