hello
- User
hello
- Assistant
Hello! How can I assist you today?
- User
- Assistant
- User
can i make a state of the art LLM ?
- Assistant
- User
- Assistant
- User
- Assistant
- User
implement top-K sampling please and allow me to enter temperture each time i input a seed
- Assistant
- User
This is the error i get : Traceback (most recent call last): File "c:\Users\L14\Documents\Projets\Easy-MoE\Easy-MoE\Easy_MoE_25.py", line 246, in dataset = QAJsonlDataset(path_to_text, seq_len) File "c:\Users\L14\Documents\Projets\Easy-MoE\Easy-MoE\Easy_MoE_25.py", line 92, in init self.pairs = self.load_data(path) File "c:\Users\L14\Documents\Projets\Easy-MoE\Easy-MoE\Easy_MoE_25.py", line 100, in load_data data = json.loads(line.strip()) File "C:\Users\L14\AppData\Local\Programs\Python\Python310\lib\json_init_.py", line 346, in loads return _default_decoder.decode(s) File "C:\Users\L14\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Users\L14\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Unterminated string starting at: line 1 column 22 (char 21), and here is the function to fix : class QAJsonlDataset(Dataset): def (self, path, seq_len): self.seq_len = seq_len self.pairs = self.load_data(path) self.vocab, self.idx2token = self.build_vocab([word for pair in self.pairs for sublist in pair for word in sublist]) self.tokenized_pairs = [(self.tokenize(q), self.tokenize(a)) for q, a in self.pairs]
- Assistant
- User
I changed to a different dataset, here is a line from the new dataset to see why i changed the keys: {"id": 17, "text": "Many of the track highlights bring out most of the human experience and not catch every person who slips their mouse over the aiming party\n\n\nThis classic TGSA track capture\n\n\nMeeting automatic CA drivers that anti-imaging lasers help best capture flooding, crops and find a place you always want to hide an edge never gained freely from the canaries. Race to discover our lost elevator location in 69.5mph rutted, closed's oil-hole. Find the one where you want to go. Record 3 calls to HQ each other every step 1 at a time. Order 40 PDF copies as signing bonus where you will not have to buy them again listed Go ahead, by the shelf at the DirtGANREC allocator site\n\n\nMost executeClickecardist.com is an award-winning nonprofit, teaching self-defense and the passage of laws to move your hard earned money. Spirit life forward with InfoCars along with the accurate reading and advice that's taken our heart'. 2,000 users certified with Phi SiS/Basic Medicine since 2010 Visit www.Spiritlife.com for free or one of coveted courses: VOICE FOR THE PLAINS PUBLIC RELATIONS Winner summering MO Judge's choice Pre-Pac Entrance 2016 - Guerilla Training Institute", "length": 257, "ended": true}
- Assistant
- User
Error decoding JSON from line: {"id": 8270, "text": "and work on so many different things\n\nBut my strangest little idea since Oct-23 came from a wonderful friend who looked me up on YouTube and asked if I'd like a heartfelt voicemail to join his Holy Grail fan club. His name was Hoda Tani, but he's the coolest guy I know and even if I've been known as some mental coward before, I've never been so thoroughly trained. He commented "the less I know I'm incredibly stupid".\n\nSo they wrote about sounding like you remember Gwyneth Paltrow and said WHERE?!EEEEELY WOULD THAT BE?! When the first notice came about as I tried to set up my standard Tropes vs Women episode I'd been...well...gonna start as soon as people see I have lots of CS* all geared towards this trope and YES LOTS of working with rough-as-pitchty on CG based on my limited time hosting a small YouTube campaign for friends and family. Both of them tried to create edits within the fact that surrounded limits. These writers were rather effective without asking me to agree to their creations in the first place.\n\nThe project lasted about a week but when Augreda contacted me I went out and was involved in designing next year's interactive entire CD looking for a show. His State of Game study was conducted at Sta and then he gave ask. I sent him his read-through from speaking with our friend. And brought up one of the SOTD concepts, an intersection of both tribes: betraying the other casts \u00b7 from recognition identity [an o Unterminated string starting at: line 1 column 22 (char 21) Traceback (most recent call last): File "c:\Users\L14\Documents\Projets\Easy-MoE\Easy-MoE\Easy_MoE_25.py", line 268, in dataset = QAJsonlDataset(path_to_text, seq_len) File "c:\Users\L14\Documents\Projets\Easy-MoE\Easy-MoE\Easy_MoE_25.py", line 94, in self.tokenized_pairs = [(self.tokenize(q), self.tokenize(a)) for q, a in self.pairs] File "c:\Users\L14\Documents\Projets\Easy-MoE\Easy-MoE\Easy_MoE_25.py", line 94, in self.tokenized_pairs = [(self.tokenize(q), self.tokenize(a)) for q, a in self.pairs] ValueError: too many values to unpack (expected 2)
- Assistant
- User
After making the change, i got this: Error decoding JSON from line: {"id": 8270, "text": "and work on so many different things\n\nBut my strangest little idea since Oct-23 came from a wonderful friend who looked me up on YouTube and asked if I'd like a heartfelt voicemail to join his Holy Grail fan club. His name was Hoda Tani, but he's the coolest guy I know and even if I've been known as some mental coward before, I've never been so thoroughly trained. He commented "the less I know I'm incredibly stupid".\n\nSo they wrote about sounding like you remember Gwyneth Paltrow and said WHERE?!EEEEELY WOULD THAT BE?! When the first notice came about as I tried to set up my standard Tropes vs Women episode I'd been...well...gonna start as soon as people see I have lots of CS* all geared towards this trope and YES LOTS of working with rough-as-pitchty on CG based on my limited time hosting a small YouTube campaign for friends and family. Both of them tried to create edits within the fact that surrounded limits. These writers were rather effective without asking me to agree to their creations in the first place.\n\nThe project lasted about a week but when Augreda contacted me I went out and was involved in designing next year's interactive entire CD looking for a show. His State of Game study was conducted at Sta and then he gave ask. I sent him his read-through from speaking with our friend. And brought up one of the SOTD concepts, an intersection of both tribes: betraying the other casts \u00b7 from recognition identity [an o Unterminated string starting at: line 1 column 22 (char 21) Traceback (most recent call last): File "c:\Users\L14\Documents\Projets\Easy-MoE\Easy-MoE\Easy_MoE_25.py", line 291, in num_tokens = count_tokens_in_dataset(dataset) File "c:\Users\L14\Documents\Projets\Easy-MoE\Easy-MoE\Easy_MoE_25.py", line 280, in count_tokens_in_dataset return sum([len(pair[0]) + len(pair[1]) for pair in dataset.pairs]) File "c:\Users\L14\Documents\Projets\Easy-MoE\Easy-MoE\Easy_MoE_25.py", line 280, in return sum([len(pair[0]) + len(pair[1]) for pair in dataset.pairs]) IndexError: string index out of range
- Assistant
- User
now i got this: Total number of tokens in the dataset: 4068468 Traceback (most recent call last): File "c:\Users\L14\Documents\Projets\Easy-MoE\Easy-MoE\Easy_MoE_25.py", line 297, in data_loader = DataLoader(dataset, batch_size=32, shuffle=True, collate_fn=collate_fn, pin_memory=True) File "C:\Users\L14\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\utils\data\dataloader.py", line 351, in init sampler = RandomSampler(dataset, generator=generator) # type: ignore[arg-type] File "C:\Users\L14\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\utils\data\sampler.py", line 106, in init if not isinstance(self.num_samples, int) or self.num_samples <= 0: File "C:\Users\L14\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\utils\data\sampler.py", line 114, in num_samples return len(self.data_source) File "c:\Users\L14\Documents\Projets\Easy-MoE\Easy-MoE\Easy_MoE_25.py", line 127, in len return len(self.tokenized_pairs) AttributeError: 'CompletionJsonlDataset' object has no attribute 'tokenized_pairs'. Did you mean: 'tokenized_texts'?
- Assistant
- User
now i get this: Total number of tokens in the dataset: 4068468 Traceback (most recent call last): File "c:\Users\L14\Documents\Projets\Easy-MoE\Easy-MoE\Easy_MoE_25.py", line 305, in vocab_size = len(dataset.vocab) # Assumes dataset.vocab is defined AttributeError: 'CompletionJsonlDataset' object has no attribute 'vocab'
- Assistant
- User
- Assistant
- User
can i use mixed precision even without a GPU ?
- Assistant
Mixed precision training primarily benefits from specialized hardware support, which is found in modern NVIDIA GPUs (like those with Tensor Cores in the Volta, Turing, and Ampere architectures). These GPUs can efficiently perform certain operations in float16 (half-precision), which, when combined with mixed precision training algorithms, can significantly reduce memory usage and increase training speed.
- User
can we use the disk as a memory for training ? if so give me the modified training function to do exactly that !
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.