• Anthropic AI Introduces a New Token Counting API
    www.marktechpost.com
    Precise control over language models is crucial for developers and data scientists. Large language models like Claude from Anthropic offer remarkable opportunities, but managing tokens effectively is a key challenge. Anthropics Token Counting API addresses this by providing detailed insights into token usage, enhancing efficiency and control over language model interactions.Why Token Counting MattersTokens are the building blocks of language modelsletters, punctuation, or words used to generate responses. Managing tokens impacts:Cost Efficiency: Tokens determine API costs. Proper management reduces unnecessary expenses.Quality Control: Token limits affect response completeness. Counting tokens helps craft optimal prompts.User Experience: Understanding token usage ensures smoother interactions, crucial for chatbots and extensive conversations.Anthropics Token Counting API simplifies measuring and managing token consumption, offering developers better control over their interactions with language models.Supported modelsThe token-counting endpoint supports the following models:Claude 3.5 SonnetClaude 3.5 HaikuClaude 3 HaikuClaude 3 OpusIntroducing the Token Counting APIThe Token Counting API allows developers to count tokens without interacting directly with Claude. It measures token counts for prompts and responses without consuming compute resources, enabling optimization during development.How It Works: Developers submit text inputs, and the API calculates the token count. This preemptive estimate allows prompt adjustments before making costly API calls. The Token Counting API is compatible with various Anthropic models, ensuring consistent token monitoring across updates.Count tokens in basic messages (Python)import anthropicclient = anthropic.Anthropic()response = client.beta.messages.count_tokens( betas=["token-counting-2024-11-01"], model="claude-3-5-sonnet-20241022", system="You are a scientist", messages=[{ "role": "user", "content": "Hello, Claude" }],)print(response.json())Count tokens in basic messages (Typescript)import Anthropic from '@anthropic-ai/sdk';const client = new Anthropic();const response = await client.beta.messages.countTokens({ betas: ["token-counting-2024-11-01"], model: 'claude-3-5-sonnet-20241022', system: 'You are a scientist', messages: [{ role: 'user', content: 'Hello, Claude' }]});console.log(response);Key Features and BenefitsAccurate Estimation: The API provides a precise token count for prompts, helping developers refine inputs to stay within token limits, ensuring completeness and efficiency.Optimized Utilization: For complex use cases like retrieval-augmented generation or customer support systems, the API helps manage token usage, preventing incomplete responses and improving reliability.Cost-Effectiveness: Understanding token usage helps optimize API calls and prompt lengths, reducing costsespecially beneficial for startups and cost-sensitive projects.Real-World Use CasesCustomer Support Chatbots: Ensures coherent conversations without abrupt cut-offs.Document Summarization: Tailors inputs for efficient summaries despite token limits.Interactive Learning Tools: Maintains efficient prompts and useful responses for educational purposes.Key InsightsThe Token Counting API solves a persistent developer challengeestimating token usage before interacting with the model. This preemptive approach helps avoid frustrating token limits during interactions, enhancing workflow efficiency.The API aligns with Anthropics focus on user safety and transparency, giving developers greater control over their models and reinforcing the commitment to manageable AI tools.ConclusionThe Token Counting API empowers developers by providing accurate token insights, leading to smarter model usage and more efficient application development. It supports transparent and predictable AI interactions, enabling developers to craft better prompts, reduce costs, and deliver smoother user experiences.As language models evolve, tools like Anthropics Token Counting API will be essential for efficient AI integration, helping optimize projects and save time and resources.Check out the Details. All credit for this research goes to the researchers of this project. Also,dont forget to follow us onTwitter and join ourTelegram Channel andLinkedIn Group. If you like our work, you will love ournewsletter.. Dont Forget to join our55k+ ML SubReddit. Shobha Kakkar+ postsShobha is a data analyst with a proven track record of developing innovative machine-learning solutions that drive business value. Listen to our latest AI podcasts and AI research videos here
    0 Comentários ·0 Compartilhamentos ·74 Visualizações
  • Apples Surprising Take On AI: Why The Future Isnt As Bright As We Thought
    towardsai.net
    Apples Surprising Take On AI: Why The Future Isnt As Bright As We Thought 0 like November 9, 2024Share this postLast Updated on November 9, 2024 by Editorial TeamAuthor(s): Kamran Khan Originally published on Towards AI. Apples Take on AIThis member-only story is on us. Upgrade to access all of Medium.Photo by Solen Feyissa on UnsplashApple officially weighed in on the subject of artificial intelligence, and its stance was rather sobering-even for an industry having a big-meeting-of-the-minds moment on AI as the future.Just when other tech giants seem to want us to only care about AI, Apple is raising rather sober questions about some of the risks and challenges that accompany the unchecked development of AI.They are pointing out the ethical, social and security ramifications we may not be ready for. So, what does that mean for our tech-driven future?Thats why Apples approach to AI tells us to think very carefully before we leap into the future.Photo by appshunter.io on UnsplashThe case of Apple and AI is unique because its not one about rushing to be first or fastest.Apple looks at integrating AI into everything while paying attention to user privacy, control, and security.The company is far more circumspect in how it develops and implements AI than are most tech companies, with a much more thoughtful, more privacy-centered approach.For example, whereas other companies harvest troves of data to power their AI, Apple relies on processing directly on the device: Read the full blog for free on Medium.Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming asponsor. Published via Towards AITowards AI - Medium Share this post
    0 Comentários ·0 Compartilhamentos ·103 Visualizações
  • 23 Christmas Tree Ribbon Decorating Ideas For the Prettiest Tree Ever
    www.countryliving.com
    Its beginning to look a lot like Christmas and that means one of our favorite traditions of the year: decorating the Christmas tree. Whether youre a traditionalist who treasures dragging out the boxes of old family ornaments each and every year or someone who thinks every Christmas is the opportunity for a new theme, one thing is a constant: ribbon is the perfect way to complete your look. Those holiday gifts aren't finished until they've been embellished with ribbons and bows, so why should your tree be any different?There are so many beautiful ways to use ribbon on your Christmas treefrom simple ribbon ties to cascading garlands to statement tree toppers (and, yes, bows!). While some ideas may take a little more time than others, theyre all easy to create once you have the basics down. Here are our best tips and ideas to get you started: What Kind of Ribbon To Use To Decorate a Christmas Tree: With so many ribbons out there to choose from, it helps to first decide what style and material of ribbon you want to use. If you love the the look and feel of a classic Christmas, steer towards tartan plaid ribbon. If your style leans more rustic, jute or burlap ribbon is a good choice for you. For the glitz-and-glam holiday lovers, a ribbon with metallic hints or made of shiny satin is best. Youll also want to grab your sharpest ribbon-cutting scissors and Christmas light clips to keep things in place while you play around with the look.How to Decorate a Christmas Tree With Ribbon:1. A Ribbon GarlandStart at the top of your tree and secure the ribbon end to the top of a branch with a clip. Carefully wind your way around the tree, going over and under branches as you come down. If you run out of ribbon as you go, clip the end somewhere in the back of the tree and repeat the same process with your new strand. You can also use wire-edged ribbon for a more structured look.2. Vertical Ribbon StrandsBegin by cutting six to eight pieces of ribbon that are each approximately a foot longer than the height of your tree. (You can cut more strips if you want a fuller ribbon look.) Secure one end of each ribbon to the top of the tree with a clip. (We recommend getting a large tree topper to hide all the clips!) Let each strand cascade down the tree, tucking it back where you would like to create a fold.3. A Ribbon Bow Tree TopperThe mechanics of a tying ribbon tree topper are similar to tying a regular bow. We recommend using a wire-edged ribbon for this so that your bow keeps its shape all season long. First, cut a strip of ribbon long enough to leave you with no shorter than 6 in. tails. You can then tie it to the top of the tree in a simple two-loop bow or create multiple loops for a show-stopping look. Get more ideas and inspiration for decorating your home for holidays:
    0 Comentários ·0 Compartilhamentos ·169 Visualizações
  • Refreshing Your Network DR Plan
    www.informationweek.com
    Hurricane Helene was a reminder that network DR plans should be up to date. Here is a checklist to be prepared for the next disaster.
    0 Comentários ·0 Compartilhamentos ·77 Visualizações
  • Folding Paper Fan in Cinema 4D Project File
    www.youtube.com
    Folding Paper Fan in Cinema 4D Project File https://cgshortcuts.com/paper-fan-in-cinema-4d a quick easy setup for creating an easily customizable paper fan in Cinema 4D#Cinema4D #C4D #Redshift #CGShortcuts
    0 Comentários ·0 Compartilhamentos ·146 Visualizações
  • Halloween Cauldron in Cinema 4D C4D Project Files
    www.youtube.com
    Halloween Cauldron in Cinema 4D C4D Project Files https://link.cgshortcuts.com/cauldron Halloween Cauldron in Cinema 4D A witches cauldron overflowing with spooky mist and fog you can use in your own C4D projects includes Pyro setup.#Cinema4D #C4D #Redshift #CGShortcuts
    0 Comentários ·0 Compartilhamentos ·148 Visualizações
  • Attach Dynamic Wires to Any Object in C4D - Cinema 4D Tutorial (Free Project)
    www.youtube.com
    How to Attach Dynamic Wires to Any Object in C4D.This technique can be used to quickly drape wires from objects or connect multiple objects together with wires. You can drape the wires and make them dynamic so they can be affected by forces.Fully animated and includes all models, textures, materials, lighting, and Redshift Renderer settings using an ACES workflow for better color. See our ACES guide here.This tutorial was requested by Dugan (one of our awesome Members).If you make something cool with this technique, wed love to hear about it in the comments section down below! Download Project File Here https://cgshortcuts.com/dynamic-wires-in-c4d Have a CINEMA 4D Question? Ask it below or contact us here: https://cgshortcuts.com Become a CG SHORTCUTS MEMBER and get access to Pro Training, Time-Saving Project Files, Courses, C4D Support & more - https://cgshortcuts.com/membership Now also available on Patreon: https://link.cgshortcuts.com/Patreon CG Shortcuts with Dave Bergin - Learn Cinema 4D Faster.-------------------------------------------------------------------------------------------------------- Get your FREE REDSHIFT RENDER CHECKLIST & TUTORIAL! Learn how to render faster and smarter every time https://cgshortcuts.com/redshift --------------------------------------------------------------------------------------------------------Want to learn OCTANE?Try our Octane Masterclass - NOW INCLUDED WITH MEMBERSHIP Available here https://cgshortcuts.com/octane-masterclass --------------------------------------------------------------------------------------------------------Want to learn REDSHIFT?Try our Redshift Masterclass - NOW INCLUDED WITH MEMBERSHIP Available here https://cgshortcuts.com/redshift-masterclass ------------------------------------------------------------------------------------------------------------ We render all of our projects on Drop & Render Farm for Cinema 4D - GET 10 RENDER CREDITS HERE https://link.cgshortcuts.com/dropandrender ------------------------------------------------------------------------------------------------------------ Get more tutorials and resources on our website!https://www.cgshortcuts.com Find our courses at CG Shortcuts Courseshttps://www.cgshortcuts.net To share your work with the CG Community you can post on the Facebook group, would love to see what you've made with the tutorials! Join here: https://link.cgshortcuts.com/FacebookGroup Get More Videos and Free Stuff - Subscribe https://link.cgshortcuts.com/YouTubeChannel Ask us a question or let me know what you want to see next in the comments section below! FOLLOW US Website: https://www.cgshortcuts.com Patreon: https://www.patreon.com/cgshortcuts Courses: https://www.cgshortcuts.net Facebook: https://www.facebook.com/cgshortcuts Instagram: https://www.instagram.com/cgshortcuts X (Twitter): https://twitter.com/cgshortcuts #CGShortcuts #Cinema4D #C4D
    0 Comentários ·0 Compartilhamentos ·164 Visualizações
  • The 5 Best RV Mattresses of 2024
    www.cnet.com
    Our Picks How we sort our mattresses Filter by Firmness Select all Soft (1-4) Only Medium (5-8) Only Firm (9-10) Only Clear Sleep style Select all Back Only Combination Only Side Only Stomach Only Clear Mattress type Select all Hybrid Only Memory foam Only Air mattress Only Clear $1,332 at Brooklyn Bedding Best overall RV mattress Brooklyn Bedding Signature View details $1,332 at Brooklyn Bedding View details $524 at RV Mattress Best size options for RVs Dreamfoam Essential View details $524 at RV Mattress View details <del class="c-shortcodeListiclePrecapItem_msrpPrice">$1,484</del> $1,187 at PlushBeds Best latex RV mattress PlushBeds EcoGreen 8-inch View details View details <del class="c-shortcodeListiclePrecapItem_msrpPrice">$799</del> $599 at Leesa Best memory foam mattress for RVs Leesa Studio View details View details $1,332 at Helix Best hybrid mattresses for RVs Helix Core Collection View details $1,332 at Helix View details Table of Contents The key to making your RV the perfect space to have adventures is ensuring everything is comfortable for a long journey. This means loading it up with one of the best RV mattresses. When you're well-rested and comfortable, the trips will be much more enjoyable. But remember, space can be tricky when trying to fit things into an RV, so make sure to measure how much room you have before going through with your purchase.Read more: Unique Gifts for People Who Have EverythingWhat is the best overall mattress for RVs?The best overall bed for RVs is the Brooklyn Bedding Signature Mattress, and it was a pretty simple choice. Our team of mattress experts loves the Brooklyn Bedding Signature mattress for its combination of near-universal comfort, hybrid design, firmness options and value price.Not only is it a great hybrid bed, but it, along with many mattresses from Brooklyn Bedding, is easily available in non-standard sizes, which we don't typically see with other brands. Odds are that there will be a size available that works for your RV, including three RV king-size mattresses, short full and Olympic queen, among others.I have actually recommended this mattress to people in my personal life, and it's always been a hit.Video: Best RV mattressBest mattresses for RVs of 2024 Brooklyn Bedding Signature Best overall RV mattress Durability 8/10
    0 Comentários ·0 Compartilhamentos ·92 Visualizações
  • Best Internet Providers in Boise, Idaho
    www.cnet.com
    Although you have limited options, knowing which are the most affordable or the highest-speed internet plans when shopping in the Boise area is still helpful.
    0 Comentários ·0 Compartilhamentos ·86 Visualizações
  • Sorry to all you CaitVi shippers, but the co-creator or Arcane says there's "a lot of drama and conflict ahead" for the popular pairing
    www.vg247.com
    Trouble In ParadiseSorry to all you CaitVi shippers, but the co-creator or Arcane says there's "a lot of drama and conflict ahead" for the popular pairing"We knew they were stepping into this sh**storm."Image credit: Netflix News by Oisin Kuhnke Contributor Published on Nov. 10, 2024 CaitVi is obviously an incredibly popular ship in Arcane, and going into season 2, its co-creator said the team knew the pairing was "stepping into this shitstorm."Spoilers ahead for both the end of season 1 and the first three episodes of season 2.The first season of Arcane had plenty of drama to latch on to, but obviously with it forming such a passionate fandom, shipping became a part of its enduring success too - such is the nature of life! Protagonist Vi and rich girl Caitlyn were, unsurprisingly, the number one ship of the season, and in a recent interview with GamesRadar, co-creator Christian Linke spoke about how getting their relationship right was "scary." He explained, "we knew that after season 1, especially with the cliffhanger, it wasn't going to be like 'and then they were happy'."To see this content please enable targeting cookies. "We knew they were stepping into this shitstorm. The question we had when we started working on season 2 is exactly the question that the audience was going to have: 'Can their relationship survive this?' There's this loss from both characters as they step into season 2. Caitlyn has lost a mother, Vi has lost her sister, and so as they are venturing out to confront things, there really is this question: 'What's going to happen to them? Are they going to change beyond a point where they're no longer the person the other could recognize? I think there's a lot of drama and conflict ahead that's scary for the relationship."Bear in mind, it's unclear how that relationship will unfold, as only the first three episodes have been released so far. The next couple parts are due out next week on November 16, and the week after on November 23, so there's plenty that could go wrong for the pair. Fingers crossed for the CaitVi shippers out there that things don't go too badly.
    0 Comentários ·0 Compartilhamentos ·77 Visualizações