• GAMINGBOLT.COM
    The Legend of Zelda: Breath of the Wild, Tears of the Kingdom Won’t Support Cloud Save Backup on Switch 2
    While Nintendo has seen quite a bit of criticism over various aspect of its Switch 2 Edition upgrades for games like The Legend of Zelda: Breath of the Wild and The Legend of Zelda: Tears of the Kingdom, the company has now confirmed that players will not be able to import their saves through the cloud backup offered via Nintendo Switch Online subscriptions. As spotted by Eurogamer, the eShop listings for the Switch 2 editions of both Breath of the Wild and Tears of the Kingdom note that the game does not support the Save Data Cloud Backup feature. Curiously, this only seems to apply to the two The Legend of Zelda titles. Other games part of the Switch 2 Edition line-up like Super Mario Party Jamboree and Kirby and the Forgotten Land don’t have the disclaimer. The same disclaimer is also not present in the Japanese eShop listings for the two Zelda games. This will likely be quite a problem for players that were hoping to carry over all of their save data on the Switch 2 versions of the games. Since both Breath of the Wild and Tears of the Kingdom are large open-world games that encourage players to spent dozens of hours as they explore the world, a fair bit of progress will be lost by players since they can’t bring over their save data. Nintendo had also confirmed earlier this month that the Switch 2 Edition of The Legend of Zelda: Breath of the Wild will not include the content that was originally released as part of the $20 expansion pass for the game on the original Switch. The expansion pass had brought with it quite a bit of content that players who don’t already own it will have to buy it at full price on the Switch 2. “The Legend of Zelda: Breath of the Wild – Nintendo Switch 2 Edition does not include The Legend of Zelda: Breath of the Wild Expansion Pass DLC,” said Nintendo in a statement. “That DLC is available as a separate purchase.” The company had confirmed that the physical release of first-party Switch 2 Edition games, like Breath of the Wild, will not require players to download anything. Rather, all of the content will be available in the game card itself. The company has stated that this applies to all of its first-party titles, including Super Mario Party Jamboree and the upcoming Metroid Prime 4. However, it has left the door open for third-party developers to make players download additional content. “Physical versions of Nintendo Switch 2 Edition games will include the original Nintendo Switch game and its upgrade pack all on the same game card (i.e. they are exclusively Nintendo Switch 2 game cards, with no download code),” said Nintendo in a statement. “Alternatively, some publishers may release Nintendo Switch 2 Edition games as download codes in physical packaging, with no game card.” The Nintendo Switch 2 is slated for launch on June 5. The Switch 2 Edition releases of both Zelda titles will also be available on the same day.
    0 Commentarios 0 Acciones 11 Views
  • WWW.CANADIANARCHITECT.COM
    Toronto Bike Lane Battle Lands in Court: Judge Weighs Rights, Safety, and the Province’s Power to Remove Cycling Infrastructure
    On Wednesday, April 16, Cycle Toronto’s legal challenge against the removal of bike lanes on three major roads in Toronto—Bloor, University, and Yonge—was heard in court. In the next few days, Judge Paul Schabas will decide on whether to temporarily bar the government from removing the lanes. He will render a final decision on the case in the coming months. The applicants in the case included grassroots advocacy organization Cycle Toronto, along with two cyclists who would be directly affected by the removal of the bike lanes: University of Toronto student Eva Stanger-Ross, who uses the lanes on her daily commute, and full-time bike delivery person Narada Kiono, who uses the lanes to do his work. They were represented by legal firms Paliare Roland Rosenberg Rothstein and Ecojustice. Cyclists ride in a bike lane on University Avenue in Toronto on December 13, 2024. THE CANADIAN PRESS/Laura Proctor Cycle Toronto and the two cyclists brought a Charter challenge against the Province’s decision to remove the 19 kilometres of downtown bike lanes. They argue that the removal infringes the Canadian Charter of Rights and Freedoms—essentially, that removing the bike lanes will make the streets less safe for cyclists and other road users, depriving them of “life” and “security of the person”—rights that are guaranteed under the Charter. The current challenge only challenges the removal of the three named bike lanes, and not the other provisions of Bill 212. The bill, passed in late November of last year, requires municipalities to ask the Province for permission to construct future bike lanes in the cases where they would displace a lane of motor vehicle traffic. The bill also gives the Province the ability to review bike lane projects that began in the past five years, with an eye to possible removals. It additionally allows for the construction of Highway 413 to begin before completing Indigenous consultation or environmental assessment—a project that is anticipated to pave over 2,000 acres of prime farmland, open up land to sprawl, and drive pollution into watersheds. A cyclist rides in a bike lane on University Avenue in Toronto on Friday, December 13, 2024. THE CANADIAN PRESS/Laura Proctor Points for Cycle Toronto In order to support their case, the applicants presented a data-based analysis from civil engineering professor and infrastructure expert Shoshanna Saxe, along with reports supporting bike lanes from groups including theAssociation of Municipalities of Ontario, the Bloor Annex Business Improvement Area, the Ontario Professional Planners Institute, the Ontario Society of Professional Engineers, and the Ontario Traffic Council. A core idea is the established concept of induced demand: creating more space for cars, while alleviating congestion in the near term, will inevitably result in increased demand and a return to traffic jams. While the Crown suggested that supporters of bike lanes are “partisan,” the applicants aimed to show that there is a mainstream professional consensus that bike lanes are ultimately helpful for alleviating congestion. The applicants also pointed to a report by professional traffic engineers CIMA, commissioned by the Ontario government after introducing the bike lane removal bill, that concluded that removing the bike lanes would likely worsen congestion and lead to more collisions, causing cycling deaths along with greater rates of injury to cyclists and motorists alike. Internal government documents obtained as part of the court case, and submitted as evidence by the applicants, showed that in contemplating what provincial staff called a “pro-driver bill,” staff noted that a policy of removing bike lanes would offer “little to no alignment with other provincial initiatives” including policies around “cargo e-bikes, e-scooters, and safe active transportation.” It also noted that, ultimately, “this measure might not have the desired impact on reducing congestion.” Travelling south on Yonge Street at Scrivener Square. Photo taken October 11, 2021. (Photo via City of Toronto’s website) Cycle Toronto’s case seemingly fell on receptive ears: from the bench, Justice Paul Schabas showed familiarity with the Toronto bike lane network and the concept of induced demand, and grilled the Crown attorneys for failing to present robust evidence to support their side of the case. Schabas said that he found one of the analyses the government lawyers presented “odd,” and observed that another chart in their case seemed to show approximately the same travel times on Bloor from before and after the bike lanes were installed. One of the government’s key pieces of supporting evidence was a report from a collision reconstruction expert, relying largely on observational data. Judge Schabas said that he had problems with anecdotal evidence from both sides of the case, but found it particularly “surprising coming from the government.” When the issue of fire safety came up, for instance, the Crown relied on a letter from a former fire chief as evidence. The judge pointed out that if the government wanted to convince him to bike lanes led to increased travel time for emergency vehicles, they should have instead produced hard data from current fire department and emergency medical service departments—which they could readily obtain. Cycle Toronto’s Facebook page Deprivation—or a case of positive rights? The core of the issue may not be whether bike lanes are beneficial, but rather, a more technical issue of whether the Province has a right to remove them. This hinges on the question of whether the removal of the bike lanes deprives road users of life and the security of the person, or whether it is merely restoring the status quo situation before bike lanes existed. In the Province’s argument, cyclists do not have a Charter-protected right to protected bike lanes: after all, a decade ago, the bike lanes didn’t exist. In legal terms, cyclists don’t have a “positive right” to bike lanes. As Crown attorney Josh Hunter put it, “the government giveth, the government taketh away.” The judge summed up, “your argument is that the Charter shouldn’t have anything to do with traffic management.” Cycle Toronto’s lawyers, on the other hand, argued that while the Province of Ontario is not obliged to provide safe infrastructure, when another State actor does, the Province should not be allowed to impede it. While the Charter protects rights, it also states that these rights and freedoms can be lawfully limited by the state—so long as these limits are reasonable and can be justified in a free and democratic society. To decide whether a government action that infringes a Charter right is unlawful, the government must show that the law is rationally connected to a pressing and substantial objective, that the law is minimally impairing of the Charter right, and that the beneficial effects of the law outweighs its negative effects on the Charter right in question. The applicants asserted that the way in which the bike lane removals were passed in law violated two of these fundamental principles of justice. First, they said, it is arbitrary: there is no rational connection between the purported object of the law (reducing traffic congestion) and its effect. Second, there is a grossly disproportionate negative effect—even if the law was successful in reducing travel times, it would only be by a few minutes at best—a marginal time savings which would be paid for in the much larger cost of cyclists’ lives. They added that while the legislature “is free to make legislation that is ineffective,” they are obliged to protect children—who are among the cyclists who use these routes—and cannot be allowed to enact a “folly” that would have a detrimental (and possibly deadly) effect on kids. Crown lawyers countered that while in the lay sense this bill “deprives” cyclists of bike lanes, it is not a “deprivation” in the legal sense of the term. Moreover, they said, the law is not arbitrary since it opens up an additional lane for motor vehicles—meeting the bar of having a logical connection to the stated objective of reducing congestion. The large number of road drivers using arterials such as Bloor, they added, means that even a marginal reduction in travel time would not be grossly disproportionate to the potential harm caused. The effects, they conceded, might be “deleterious,” but were not “grossly deleterious.” Judge Schabas reserved his decision, saying that “it’s a difficult, complex, and challenging case.” The post Toronto Bike Lane Battle Lands in Court: Judge Weighs Rights, Safety, and the Province’s Power to Remove Cycling Infrastructure appeared first on Canadian Architect.
    0 Commentarios 0 Acciones 6 Views
  • WWW.SMITHSONIANMAG.COM
    Hundreds of Looted Ancient Artifacts Confiscated From the Black Market Are Now On Display in Naples
    Hundreds of Looted Ancient Artifacts Confiscated From the Black Market Are Now On Display in Naples The National Archaeological Museum of Naples is showcasing 600 recovered objects, which date to between the Archaic period and the Middle Ages The exhibition includes pieces of ancient pottery. National Archaeological Museum of Naples For more than half a century, a specialized Italian police unit has been confiscating valuable artifacts from the black market. Some 15,000 recovered items are housed at the National Archaeological Museum of Naples—and now, the museum is displaying 600 of them for the first time. Titled “Treasures Rediscovered: Stories of Crime and Stolen Artifacts,” the exhibition focuses not only on ancient artworks, but also on the “often complex dynamic” of illegal trafficking that brought these items to the museum, according to a statement. Marble and bronze artworks are on display in the exhibition. National Archaeological Museum of Naples “It is a beautiful exhibition that tells a beautiful story, a story also of redemption for our stolen archaeological artifacts, which often find their way into private property or even international museums,” exhibition co-curator Massimo Osanna, director of national museums at Italy’s culture ministry, tells the Associated Press’ Francesco Sportelli. “Thanks to the work of the public prosecutor’s office and the police, together with the ministry, [these artifacts] are finally coming home and to light.” Strict laws govern the ownership of archaeological artifacts in Italy. Looting has been happening for centuries, but today’s criminals have turned to advanced technologies—including sonar, drones and underwater metal detectors—to pluck treasure from shipwrecks and other ancient sites beneath the Mediterranean Sea, per the AP. The exhibition begins with a history of collecting, which has long fueled illegal excavations and trafficking. Visitors learn about international markets and law enforcement, important court cases and the stories of looted items that haven’t yet been recovered. The show features pieces of a tomb that are more than 2,300 years old. National Archaeological Museum of Naples Artifacts on view include coins, marbles, bronzes, weapons, armor and pottery. They come from all over southern Italy, and they date to between the Archaic period (roughly 650 to 480 B.C.E.) and the Middle Ages. The show highlights several stories of illegal exchange: In one case, a man from Naples used archaeological finds to pay his pharmacist. In another, a French archaeologist bought sculptures from the ancient city of Pompeii off a local farmer for the equivalent of about $28. Three frescoed slabs from a fourth-century B.C.E. tomb were found in the private collection of 20th-century opera singer Maria Callas.Also on display are “the classic tools of grave robbers, spilloni [soil probes] through which gravediggers pierce the ground,” says Pierpaolo Filippelli, deputy prosecutor of the Naples prosecutor’s office, in an AP video, per a translation by Euronews. “But today, art traffickers operate on a more advanced level, using tools like the dark web to sell stolen works.” According to the statement, the exhibition is a “journey of collective memory” that highlights the importance of protecting cultural heritage. The Italian police’s cultural heritage protection command recovered over 100,000 artifacts in 2023 (the most recent year with available documentation), as the AP reports. Officials estimate that the haul is worth about $299 million. “Treasures Rediscovered: Stories of Crime and Stolen Artifacts” is on view at the National Archaeological Museum of Naples through September 30, 2025. Get the latest stories in your inbox every weekday.
    0 Commentarios 0 Acciones 15 Views
  • VENTUREBEAT.COM
    This AI startup just raised $7.5m to fix commercial insurance for America’s 24m underprotected small businesses
    New York AI startup 1Fort secures $7.5M in funding to streamline commercial insurance for small businesses with its broker-focused platform that cuts paperwork from hours to minutes.Read More
    0 Commentarios 0 Acciones 25 Views
  • WWW.GAMESINDUSTRY.BIZ
    Dwarf Fortress hits 1 million sales on Steam | News-in-brief
    Dwarf Fortress hits 1 million sales on Steam | News-in-brief Kitfox Games thanks "everyone who’s supported us!" Image credit: Kitfox Games News by Vikki Blake Contributor Published on April 17, 2025 This is a News-in-brief article, our short format linking to an official source for more information. Read more about this story by following the link below: Dwarf Fortress hits 1 million sales on Steam
    0 Commentarios 0 Acciones 7 Views
  • WWW.GAMEDEVELOPER.COM
    Mario Kart World features missions for the first time in 20 years
    TechTarget and Informa Tech’s Digital Business Combine.TechTarget and InformaTechTarget and Informa Tech’s Digital Business Combine.Together, we power an unparalleled network of 220+ online properties covering 10,000+ granular topics, serving an audience of 50+ million professionals with original, objective content from trusted sources. We help you gain critical insights and make more informed decisions across your business priorities.DesignMario Kart World features missions for the first time in 20 yearsMario Kart World features missions for the first time in 20 yearsOriginally introduced in Mario Kart DS, the Switch 2 exclusive is reintroducing missions, this time in an open-world setting.Diego Arguello, ContributorApril 17, 20252 Min ReadImage via NintendoMario Kart World will feature missions for the first time in 20 years.As part of today‛s Mario Kart World Direct, Nintendo showed an in-depth overview of Free Roam mode, which allows players to explore the map in its entirety, seemingly without barriers.During this exploratory phase outside of races, players can bump onto P Switches, objects that start missions. The examples shown included collecting eight blue coins on an obstacle course under 24 seconds, and a race where golden armadillos are blocking the track.Mario Kart DS first introduced Mission Mode in 2005. The feature offered players a reprieve from competitive races with multiple objectives and boss fights.In World, missions aren‛t part of a separate mode, but rather integrated in the open world segment. The trailer noted there are "hundreds of P Switches" across the world, their purpose being to “hone your driving ability outside of races” by completing the missions. There are also collectibles to find, and players can use Photo Mode to take pictures.Cruising togetherOther players can join a session in Free Roam. While this is meant to serve as a hub to kickstart races together, it‛s possible to tag along to explore the map. Game Developer senior editor Bryant Francis noted that it will be interesting if these missions are structured around social play with friends versus linear progression.Related:Based on the examples shown, it could go either way. Considering that Nintendo is pushing the communal online aspect around the Switch 2 with the inclusion of GameChat for video calls during game sessions, as well as its own camera, it wouldn't be surprising if some objectives overlapped with other players.Mario Kart World is set to release as a Switch 2 launch title, which is estimated for June 5. Pre-orders are currently unavailable in the U.S. and Canada over the Trump administration tariffs. In China, Nintendo is reportedly delaying the console indefinitely to asses demand levels in the highly regulated local market. The company has yet to address the pre-orders publicly, although the U.S. tariff pause, announced last week, could provide the company time to amass a Switch 2 stockpile.Read more about:Nintendo Switch 2Top StoriesNintendoAbout the AuthorDiego ArguelloContributorSee more from Diego ArguelloDaily news, dev blogs, and stories from Game Developer straight to your inboxStay UpdatedYou May Also Like
    0 Commentarios 0 Acciones 5 Views
  • WWW.THEVERGE.COM
    Tesla’s spring update activates adaptive high beams that won’t blind oncoming drivers
    Tesla’s vehicles may be in a sales slump, but that’s not stopping the company from regularly introducing fresh features for owners. Tesla’s spring software update includes several useful new functions in its EVs, including adaptive high beams on compatible cars and better trip planning.The update will allow some Tesla owners to use high beams without blinding other drivers and cyclists on the road by enabling the beamforming capabilities of equipped matrix headlights. The company first started installing the hardware across its vehicles in 2022, but are just now enabling it. Tesla had also enabled the features in Europe last year, and the newly refreshed Model Y will ship with the new smart headlights.Many automakers like Audi have already been using adaptive headlights for about a decade in Europe, but the technology only became legal in the US in 2022. Other US automakers, including Ford and its F-150 Lightning, have the necessary hardware but aren’t yet enabling all the features of adaptive lights by default.Another very useful feature in the spring release includes “Alternative Trip Plans,” which lets Tesla owners select different EV navigation routes based on whether they want to get there faster, have the fewest stops, or want to visit highly rated restaurants, shops, and restrooms. It adds to an already comprehensive EV navigation experience that other automakers have yet to catch up to, although Tesla still does not include third party chargers in automatic routing. Additionally, you can now set navigation to avoid highways.Tesla is also giving its Sentry secure video and Dashcam features the ability to record clips from the B-Pillar side cameras, increasing their capture abilities from six of the vehicle’s cameras instead of four. An updated Dashcam viewer on the infotainment screen includes a new grid view to make it easier to review recordings. These new dashcam features, however, only work on Tesla models with AMD-powered infotainment screens, so anyone with Intel-powered ones won’t get the new functionality. Other notable features in the update include sideview camera feeds on the instrument cluster for Model S and X, location based trunk height memory so your tailgate doesn’t hit your low-ceiling garage, always-on USB-C and wireless charging, and, for those who refuse to pay Tesla for premium connectivity, the ability to automatically connect to your hotspot when you start to drive.See More:
    0 Commentarios 0 Acciones 24 Views
  • WWW.MARKTECHPOST.COM
    Uploading Datasets to Hugging Face: A Step-by-Step Guide
    Part 1: Uploading a Dataset to Hugging Face Hub Introduction This part of the tutorial walks you through the process of uploading a custom dataset to the Hugging Face Hub. The Hugging Face Hub is a platform that allows developers to share and collaborate on datasets and models for machine learning. Here, we’ll take an existing Python instruction-following dataset, transform it into a format suitable for training the latest Large Language Models (LLMs), and then upload it to Hugging Face for public use. We’re specifically formatting our data to match the Llama 3.2 chat template, which makes it ready for fine-tuning Llama 3.2 models. Step 1: Installation and Authentication First, we need to install the necessary libraries and authenticate with the Hugging Face Hub: !pip install -q datasets !huggingface-cli login What’s happening here: datasets is Hugging Face’s library for working with machine learning datasets The quiet flag -q reduces installation output messages huggingface-cli login will prompt you to enter your Hugging Face authentication token You can find your token by going to your Hugging Face account settings → Access Tokens After running this cell, you will be prompted to enter your token. This authenticates your session and allows you to push content to the Hub. Step 2: Load the Dataset and Define the Transformation Function Next, we’ll load an existing dataset and define a function to transform it to match the Llama 3.2 chat format: from datasets import load_dataset # Load your complete custom dataset dataset = load_dataset('Vezora/Tested-143k-Python-Alpaca') # Define a function to transform the data def transform_conversation(example): system_prompt = """ You are an expert Python coding assistant. Your role is to help users write clean, efficient, and bug-free Python code. You have been trained on a diverse set of high-quality Python code samples, all of which passed rigorous automated testing for functionality and performance. Always follow best practices in Python programming, provide concise and readable solutions, and ensure that your responses include informative comments when necessary. When presented with a coding problem, first create a detailed pseudocode that outlines the structure and logic of the solution step-by-step. Once the pseudocode is complete, follow it to generate the actual Python code. This approach will help ensure clarity and alignment with the desired logic before writing the code. If asked to modify existing code, provide pseudocode highlighting the changes and optimizations to be made, focusing on improvements related to performance, error handling, and robustness. Remember to explain your thought process and rationale clearly for any modifications or code suggestions you provide. """ instruction = example['instruction'].strip() # Accessing the instruction column output = example['output'].strip() # Accessing the output column formatted_text = ( f"""<|begin_of_text|><|start_header_id|>system<|end_header_id|> {system_prompt} <|eot_id|>n<|start_header_id|>user<|end_header_id|> {instruction} <|eot_id|><|start_header_id|>assistant<|end_header_id|> {output}<|eot_id|>""" ) # instruction = example['instruction'].strip() # Accessing the instruction column # output = example['output'].strip() # Accessing the output column # Apply the new template # Since there is no system prompt, we construct the string without the SYS part # formatted_text = f'<s>[INST] {instruction} [/INST] {output} </s>' return {'text': formatted_text} What’s happening here: We load the ‘Vezora/Tested-143k-Python-Alpaca’ dataset, which contains Python programming instructions and outputs We define a transformation function that restructures each example into the Llama 3.2 chat format We include a detailed system prompt that gives the model context about its role as a Python coding assistant The special tokens like <|begin_of_text|>, <|start_header_id|>, and <|eot_id|> are Llama 3.2’s way of formatting conversational data This function creates a properly formatted conversation with system, user, and assistant messages The system prompt is particularly important as it defines the persona and behavior expectations for the model. In this case, we’re instructing the model to act as an expert Python coding assistant that follows best practices and provides well-commented, efficient solutions. Step 3: Apply the Transformation to the Dataset Now we apply our transformation function to the entire dataset: # Apply the transformation to the entire dataset transformed_dataset = dataset['train'].map(transform_conversation) What’s happening here: The map() function applies our transformation function to every example in the dataset This processes all 143,000 examples in the dataset, reformatting them into the Llama 3.2 chat format The result is a new dataset with the same content but structured properly for fine-tuning Llama 3.2 This transformation is crucial because it reformats the data into the specific template required by the Llama 3.2 model family. Without this formatting, the model wouldn’t recognize the different roles in the conversation (system, user, assistant) or where each message begins and ends. Step 4: Upload the Dataset to Hugging Face Hub With our dataset prepared, we can now upload it to the Hugging Face Hub: transformed_dataset.push_to_hub("Llama-3.2-Python-Alpaca-143k") What’s happening here: The push_to_hub() method uploads our transformed dataset to the Hugging Face Hub “Llama-3.2-Python-Alpaca-143k” will be the name of your dataset repository This creates a new repository under your username: https://huggingface.co/datasets/YOUR_USERNAME/Llama-3.2-Python-Alpaca-143k The dataset will now be publicly available for others to download and use After running this cell, you’ll see progress bars indicating the upload status. Once complete, you can visit the Hugging Face Hub to view your newly uploaded dataset, edit its description, and share it with the community. This dataset is now ready to be used for fine-tuning Llama 3.2 models on Python programming tasks, with properly formatted conversations that include system instructions, user queries, and assistant responses! Part 2: Fine-tuning and Uploading a Model to Hugging Face Hub Now that we’ve prepared and uploaded our dataset, let’s move on to fine-tuning a model and uploading it to the Hugging Face Hub. Step 1: Install Required Libraries First, we need to install all the necessary libraries for fine-tuning large language models efficiently: !pip install "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git" !pip install "git+https://github.com/huggingface/transformers.git" !pip install -U trl !pip install --no-deps trl peft accelerate bitsandbytes !pip install torch torchvision torchaudio triton !pip install xformers !python -m xformers.info !python -m bitsandbytes What this does: Installs Unsloth (a library for faster LLM fine-tuning), the latest version of Transformers, TRL (for reinforcement learning), PEFT (for parameter-efficient fine-tuning), and other dependencies needed for training. The xformers and bitsandbytes libraries help with memory efficiency. Step 2: Load the Dataset Next, we load the dataset we prepared in the previous section: from unsloth import FastLanguageModel from trl import SFTTrainer from transformers import TrainingArguments import torch from datasets import load_dataset max_seq_length = 2048 dataset = load_dataset("nikhiljatiwal/Llama-3.2-Python-Alpaca-143k", split="train") What this does: Sets the maximum sequence length for our model and loads our previously uploaded Python coding dataset from Hugging Face. Step 3: Load the Pre-trained Model Now we load a quantized version of Llama 3.2: model, tokenizer = FastLanguageModel.from_pretrained( model_name = "unsloth/Llama-3.2-3B-Instruct-bnb-4bit", max_seq_length = max_seq_length, dtype = None, load_in_4bit = True ) What this does: Loads a 4-bit quantized version of Llama 3.2 3B Instruct model from Unsloth’s repository. Quantization reduces the memory footprint while maintaining most of the model’s performance. Step 4: Configure PEFT (Parameter-Efficient Fine-Tuning) We’ll set up the model for efficient fine-tuning using LoRA (Low-Rank Adaptation): model = FastLanguageModel.get_peft_model( model, r = 16, target_modules = ["q_proj", "k_proj", "v_proj", "o_proj", "gate_proj", "up_proj", "down_proj",], lora_alpha = 16, lora_dropout = 0, # Supports any, but = 0 is optimized bias = "none", # Supports any, but = "none" is optimized # [NEW] "unsloth" uses 30% less VRAM, fits 2x larger batch sizes! use_gradient_checkpointing = "unsloth", # True or "unsloth" for very long context random_state = 3407, use_rslora = False, # We support rank stabilized LoRA loftq_config = None, # And LoftQ max_seq_length = max_seq_length ) What this does: Configures the model for Parameter-Efficient Fine-Tuning with LoRA. This technique only trains a small number of new parameters while keeping most of the original model frozen, allowing efficient training with limited resources. We’re targeting specific projection layers in the model with a rank of 16. Step 5: Mount Google Drive for Saving To ensure our trained model is saved even if the session disconnects: from google.colab import drive drive.mount("/content/drive") What this does: Mounts your Google Drive to save checkpoints and the final model. Step 6: Set Up Training and Start Training Now we configure and start the training process: trainer = SFTTrainer( model = model, train_dataset = dataset, dataset_text_field = "text", max_seq_length = max_seq_length, tokenizer = tokenizer, args = TrainingArguments( per_device_train_batch_size = 2, gradient_accumulation_steps = 4, warmup_steps = 10, # num_train_epochs = 1, # Set this for 1 full training run. max_steps = 60, learning_rate = 2e-4, fp16 = not torch.cuda.is_bf16_supported(), bf16 = torch.cuda.is_bf16_supported(), logging_steps = 1, optim = "adamw_8bit", weight_decay = 0.01, lr_scheduler_type = "linear", seed = 3407, output_dir = "/content/drive/My Drive/Llama-3.2-3B-Instruct-bnb-4bit" ), ) trainer.train() What this does: Creates a Supervised Fine-Tuning Trainer with our model, dataset, and training parameters. The training runs for 60 steps with a batch size of 2, gradient accumulation of 4, and a learning rate of 2e-4. The model checkpoints will be saved to Google Drive. Step 7: Save the Fine-tuned Model Locally After training, we save our model: model.save_pretrained("lora_model") # Local saving tokenizer.save_pretrained("lora_model") What this does: Saves the fine-tuned LoRA model and tokenizer to a local directory. Step 8: Upload the Model to Hugging Face Hub Finally, we upload our fine-tuned model to Hugging Face: import os from google.colab import userdata HF_TOKEN = userdata.get('HF_WRITE_API_KEY') model.push_to_hub_merged("nikhiljatiwal/Llama-3.2-3B-Instruct-code-bnb-4bit", tokenizer, save_method = "merged_16bit", token=HF_TOKEN) Conclusion In this guide, we demonstrated a complete workflow for AI model customization using Hugging Face. We transformed a Python instruction dataset into Llama 3.2 format with a specialized system prompt and uploaded it as “Llama-3.2-Python-Alpaca-143k”. We then fine-tuned a Llama 3.2 model using efficient techniques (4-bit quantization and LoRA) with minimal computing resources. Finally, we shared both resources on Hugging Face Hub, making our Python coding assistant available to the community. This project showcases how accessible AI development has become, enabling developers to create specialized models for specific tasks with relatively modest resources. Here is the Colab Notebook_Llama_3_2_3B_Instruct_code and Colab Notebook_Llama_3_2_Python_Alpaca_143k . Also, don’t forget to follow us on Twitter and join our Telegram Channel and LinkedIn Group. Don’t Forget to join our 90k+ ML SubReddit. NikhilNikhil is an intern consultant at Marktechpost. He is pursuing an integrated dual degree in Materials at the Indian Institute of Technology, Kharagpur. Nikhil is an AI/ML enthusiast who is always researching applications in fields like biomaterials and biomedical science. With a strong background in Material Science, he is exploring new advancements and creating opportunities to contribute.Nikhilhttps://www.marktechpost.com/author/nikhil0980/OpenAI Introduces o3 and o4-mini: Progressing Towards Agentic AI with Enhanced Multimodal ReasoningNikhilhttps://www.marktechpost.com/author/nikhil0980/MIT Researchers Introduce DISCIPL: A Self-Steering Framework Using Planner and Follower Language Models for Efficient Constrained Generation and ReasoningNikhilhttps://www.marktechpost.com/author/nikhil0980/From Logic to Confusion: MIT Researchers Show How Simple Prompt Tweaks Derail LLM ReasoningNikhilhttps://www.marktechpost.com/author/nikhil0980/Reflection Begins in Pre-Training: Essential AI Researchers Demonstrate Early Emergence of Reflective Reasoning in LLMs Using Adversarial Datasets
    0 Commentarios 0 Acciones 9 Views
  • WWW.IGN.COM
    A Clueless Sequel Series Is Reportedly Happening — And Alicia Silverstone Is Returning
    As if they could resist putting Alicia Silverstone back in the yellow and plaid. The iconic actress is reportedly set to reprise her starring role as Cher Horowitz in a Clueless sequel series for Peacock.The series is currently in development with the streamer, according to Variety, and the exact plot details are being kept quiet. The only details we have at this point are Silverstone’s involvement, the fact that the show will be a continuation of the story told in the original 1995 film, and the creative team. Additionally, we know this new attempt at a Clueless spin-off is different from the one that Peacock was planning to do back in 2020.Josh Schwartz and Stephanie Savage, best known as a team for co-creating the original Gossip Girl series as well as executive producing the reboot series, will write the series alongside Jordan Weiss. The trio will executive produce the series as well alongside Amy Heckerling, the original writer-director of Clueless, and Robert Lawrence, the film’s original producer. CBS Studios and Universal Television will also produce. This is definitely not the first small screen adaptation of the 1995 comedy. Following its success with moviegoers, a television version of the film aired on ABC and UPN from 1996 to 1999 with Rachel Blanchard — instead of Silverstone — in the lead.Silverstone recently reprised her Clueless role in a 2023 Super Bowl commercial for Rakuten — so it’s clear she’s been itching to get back into Cher’s closet. We don’t blame her one bit. Lex Briscuso is a film and television critic and a freelance entertainment writer for IGN. You can follow her on Twitter at @nikonamerica.
    0 Commentarios 0 Acciones 15 Views
  • WWW.DENOFGEEK.COM
    WrestleMania 41 Predictions: How Will John Cena’s Story Finish?
    WrestleMania 41 is officially upon us. WWE is taking over Las Vegas — the city of sin, risk, and reinvention. Fitting, isn’t it? Because this year’s Mania isn’t just another page in WWE history—it’s a full-blown rewrite of the future. You’ve got legends clashing, factions crumbling, and betrayals turning friends into enemies. In Vegas the lights are brighter. The stakes are higher. The entrances are going to be longer than The Strip itself. WrestleMania 40 gave us a fairytale—Cody Rhodes, bloodied and broken, finally “finished the story.” But fairytales? They’re for bedtime. This is WrestleMania. And the dream has been corrupted. Because this year… John Cena snapped at Elimination Chamber. He gave his soul to The Rock. Low blowing Cody and pummeling him till he was bleeding. It was a moment that left many speechless.  John Cena is supposed to be the hero, not the villain. The man who was the moral compass of WWE, the embodiment of “Hustle, Loyalty, Respect,” has turned his back on it all. No more t-shirts. No more salutes. Just venom in his voice and destruction in his heart. And standing in his way? The golden son of Dusty, the man of the people—Cody Rhodes.  While the headliner will draw a ton of attention, WrestleMania 41’s two-night card is stacked. The drama is layered. And the streets of Vegas are ready to burn. Let’s get into our predictions. NIGHT ONE: Chad Gable has reinvented himself as “El Grande Americano,” a loud, overly patriotic parody that’s been mocking lucha libre and Rey Mysterio’s heritage with every promo. What started as comedic jabs turned personal quick, with Gable attacking Rey’s legacy, culture, and influence. Rey’s not just fighting for a win — he’s defending an entire tradition. Expect a fast-paced, high-flying masterclass with sneaky heel tactics from Gable. Prediction: Rey Mysterio overcomes the disrespect and gets a clean win to kick off the show with heart. Naomi vs. Jade Cargill What started as one of the most exciting alliances in recent women’s wrestling — Naomi, Bianca Belair, and Jade Cargill — quickly spiraled into betrayal. The trio was poised to dominate the women’s division, but envy simmered beneath the surface. Naomi, the seasoned vet, saw her spotlight dim under Jade’s rise. Frustration turned into violence when Naomi attacked Jade backstage, causing a storyline injury that sidelined Cargill for weeks. Jade returned with fury at Elimination Chamber, blindsiding Naomi with a brutal attack. Now, at WrestleMania 41, it’s personal. Jade isn’t just chasing a win—she’s hunting for closure and revenge. Prediction: Jade Cargill destroys Naomi. This is her coming-out party. Join our mailing list Get the best of Den of Geek delivered right to your inbox! WWE Tag Team Championships: War Raiders (c) vs. The New Day This is a battle of brute force vs. ruthless cunning. The War Raiders have dominated with power and brutality. But The New Day has dropped the fun and flipped the switch—now gritty, edgy, and willing to cheat to win. Prediction: The New Day steals a win using distraction and dirty tactics. A new reign begins. United States Championship: LA Knight (c) vs. Jacob Fatu Jacob Fatu arrived like a storm—unpredictable, violent, and completely unbothered by the rules. His debut came after annihilating Braun Strowman, and now he’s gunning for the charismatic LA Knight. Knight’s momentum is undeniable, but Fatu brings the kind of raw aggression WWE hasn’t seen in a while. Prediction: LA Knight squeaks by with a controversial win. The feud continues through the summer. WWE Women’s Championship: Tiffany Stratton (c) vs. Charlotte Flair Tiffany Stratton talks like she already owns the women’s division, but now she has to face the standard — Charlotte Flair. The promos have been personal, cutting deep into both women’s pasts, and the match will be even deeper. Tiff wants to prove she’s not just flash—but Charlotte’s legacy is cemented in gold and dominance. Prediction: Charlotte wins. Tiffany looks good in the loss, setting her up for long-term elevation. World Heavyweight Championship: Gunther (c) vs. Jey Uso Gunther’s reign has been defined by violence and discipline. He’s a machine. But Jey Uso has turned into one of the most beloved babyfaces in the company—a man who broke free from the Bloodline and carved out his own name. This match is a clash of styles and stories. Gunther represents order. Jey represents chaos, passion, and grit. Prediction: Jey Uso pulls the upset of the night and captures his first singles world title. NIGHT TWO: AJ Styles vs. Logan Paul Styles is the ring general. Logan Paul is the flashy outsider who’s proven he belongs—but now he’s facing a true veteran. Their feud escalated from Royal Rumble tension to social media flame wars. Prediction: AJ Styles wins. Logan gets yet another viral moment, but AJ gets the W. Sin City Street Fight: Drew McIntyre vs. Damian Priest This match is about respect, redemption, and violence. Priest cost Drew his WrestleMania moment last year, and ever since, it’s been personal with the car window spot and the sneak attacks. Drew’s had enough. Prediction: McIntyre wins in a war. This one’s going to be bloody. Women’s Tag Team Championships: Liv Morgan & Raquel Rodriguez (c) vs. Bayley & Lyra Valkyria A lowkey banger with emotional stakes. Liv and Raquel want to prove they’re not transitional champs. Bayley wants to bring Lyra to the big stage and rebuild her own legacy in the process. Prediction: Liv & Raquel retain. Clean win, great showing. Intercontinental Championship: Bron Breakker (c) vs. Penta vs. Finn Bálor vs. Dominik Mysterio This four-way is chaos on paper. Bron’s been dominant. Penta brings unpredictability. Finn’s the strategist. Dom’s the spoiled heat magnet who will do anything to win. Prediction: Bron retains. The young lion continues his reign of dominance. Women’s World Championship: IYO SKY (c) vs. Bianca Belair vs. Rhea Ripley Originally booked as Rhea vs. Bianca, the dynamic changed when Bianca cost Rhea a match, leading to IYO getting the win and inserting herself. Rhea then activated her rematch clause, creating a high-stakes triple threat. All three women are elite. All three have something to prove. Prediction: Bianca Belair wins. She reclaims her spot at the top. Undisputed WWE Championship: Cody Rhodes (c) vs. John Cena WrestleMania 41 is everything WrestleMania should be—epic, dramatic, unpredictable. It’s about legacy, betrayal, and rebirth. From Cody vs Cena to Jade’s revenge, this weekend will define careers. Las Vegas might be known for its lights, but after WrestleMania 41, it’ll be remembered for the fire. The dream match became a nightmare. John Cena turned heel—fully. Influenced by The Rock, driven by bitterness, Cena is chasing his 17th world title with zero remorse. Cody, the ultimate babyface, is fighting not just to keep his title—but to save the soul of WWE from the man he once admired. Prediction: John Cena wins. Dirty finish. Cody’s story enters a new chapter — darker, more personal.
    0 Commentarios 0 Acciones 25 Views