<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mayora Brian on Medium]]></title>
        <description><![CDATA[Stories by Mayora Brian on Medium]]></description>
        <link>https://medium.com/@Mayora.brian?source=rss-b119b972fa7f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*1orWn__jleDP0etL</url>
            <title>Stories by Mayora Brian on Medium</title>
            <link>https://medium.com/@Mayora.brian?source=rss-b119b972fa7f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 01:44:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Mayora.brian/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Pinecone, a managed vector database service]]></title>
            <link>https://medium.com/@Mayora.brian/pinecone-a-managed-vector-database-service-5edee83a3c3c?source=rss-b119b972fa7f------2</link>
            <guid isPermaLink="false">https://medium.com/p/5edee83a3c3c</guid>
            <dc:creator><![CDATA[Mayora Brian]]></dc:creator>
            <pubDate>Wed, 13 Nov 2024 08:47:39 GMT</pubDate>
            <atom:updated>2024-11-13T08:47:39.188Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FiCuR6ihHQgc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DiCuR6ihHQgc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FiCuR6ihHQgc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/2d16b65842103256d40673ac838d6955/href">https://medium.com/media/2d16b65842103256d40673ac838d6955/href</a></iframe><p>vector embeddings are generated from text, images, audio, or other data types, and need to be stored, retrieved, and searched based on similarity. For example:</p><ul><li><strong>Recommendation Systems</strong>: Finding items similar to a given item in a catalog, such as in e-commerce.</li><li><strong>Document or Image Retrieval</strong>: Finding similar documents or images in a large dataset.</li><li><strong>Anomaly Detection</strong>: Identifying unusual patterns by comparing to known “normal” vectors.</li><li><strong>Personalization</strong>: Creating personalized experiences by finding similar user preferences.</li></ul><h3>Explanation of Each Section of the Code</h3><h4>Step 1: Initialization of Pinecone</h4><pre>from pinecone import Pinecone, ServerlessSpec<br><br># Initialize Pinecone instance with the API key<br>pc = Pinecone(api_key=api_key)</pre><p>This section initializes Pinecone using an API key, which is either stored in an environment variable or provided directly in the code (replaceable with your own). This setup is necessary for authenticating with the Pinecone service.</p><p>Step 2: Check and Create an Index</p><pre>index_name = &quot;sample-index&quot;<br>dimension = 128<br>if index_name not in pc.list_indexes().names():<br>    pc.create_index(<br>        name=index_name,<br>        dimension=dimension,<br>        metric=&quot;euclidean&quot;,<br>        spec=ServerlessSpec(<br>            cloud=&quot;aws&quot;,<br>            region=&quot;us-west-2&quot;  # Free-tier region for AWS<br>        )<br>    )</pre><p>This section creates an index named sample-index, specifying:</p><ul><li>dimension=128: The length of each vector that will be stored (128-dimensional).</li><li>metric=&quot;euclidean&quot;: The metric used for similarity search, where Euclidean distance is often used for general similarity.</li><li>spec=ServerlessSpec(...): Specifies the cloud provider (AWS) and the region (us-west-2) to use.</li><li>The index creation checks if the index already exists. If not, it creates the new index.</li></ul><p>Step 3: Use the Index</p><pre>index = pc.Index(index_name)</pre><pre>index = pc.Index(Vectors)</pre><p>Here, the code assigns the index to a variable index, making it accessible for operations like inserting data and querying.</p><p>Step 4: Insert Data into the Index</p><pre>data = [<br>    {&quot;id&quot;: &quot;item1&quot;, &quot;values&quot;: [0.1, 0.2, 0.3] * (dimension // 3) + [0.1] * (dimension % 3)},<br>    {&quot;id&quot;: &quot;item2&quot;, &quot;values&quot;: [0.4, 0.5, 0.6] * (dimension // 3) + [0.4] * (dimension % 3)}<br>]<br>index.upsert(vectors=data)</pre><p>This part inserts two sample vectors with IDs item1 and item2. The values list is padded to be exactly 128 elements in length. The upsert operation adds or updates these vectors in the index, making them available for future queries.</p><p>Step 5: Query the Index</p><pre>query_vector = [0.1, 0.2, 0.3] * (dimension // 3) + [0.1] * (dimension % 3)<br>query_result = index.query(vector=query_vector, top_k=1)<br>print(&quot;Query result:&quot;, query_result)</pre><p>This part performs a similarity search by querying the index with a vector (query_vector). It finds the top_k=1 most similar vector(s) to query_vector. This is particularly useful in applications like recommendation engines or search engines where you want to retrieve items similar to a given input.</p><p>Step 6: Clean Up by Deleting the Index</p><pre>pc.delete_index(index_name)<br>print(f&quot;Index &#39;{index_name}&#39; deleted.&quot;)</pre><p>Finally, this part deletes the index, which is often necessary in a testing or development environment to avoid accumulating unnecessary indices.</p><h3>Practical Application Scenarios</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FerUfLIi9OFM%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DerUfLIi9OFM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FerUfLIi9OFM%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b7353df346c22a049aa8bee265c5d99c/href">https://medium.com/media/b7353df346c22a049aa8bee265c5d99c/href</a></iframe><ol><li><strong>E-commerce</strong>: In a recommendation system, this code can be used to store product vectors, allowing for retrieval of similar products based on a customer’s viewing or purchasing history.</li><li><strong>Natural Language Processing</strong>: After converting text into vector embeddings using NLP models, you can use this setup to perform document retrieval or similarity search, such as finding articles similar to a search query.</li><li><strong>Image Search</strong>: By storing image embeddings, you can query the index to find visually similar images, useful in image retrieval and search engines.</li><li><strong>Audio and Video Analysis</strong>: Vector embeddings of audio or video features can be stored, allowing for similarity search in media databases.</li></ol><p>This example shows the basics of using Pinecone for vector similarity tasks but can be scaled up for large datasets and real-world applications, especially where low-latency similarity searches are required.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5edee83a3c3c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Revolutionizing 3D Design: Exploring the Impact of AI-Powered Assistants like BlenderGPT in the…]]></title>
            <link>https://medium.com/@Mayora.brian/revolutionizing-3d-design-exploring-the-impact-of-ai-powered-assistants-like-blendergpt-in-the-a32fbcb54a56?source=rss-b119b972fa7f------2</link>
            <guid isPermaLink="false">https://medium.com/p/a32fbcb54a56</guid>
            <dc:creator><![CDATA[Mayora Brian]]></dc:creator>
            <pubDate>Sun, 10 Mar 2024 12:46:59 GMT</pubDate>
            <atom:updated>2024-03-10T12:46:59.257Z</atom:updated>
            <content:encoded><![CDATA[<h3>Revolutionizing 3D Design: Exploring the Impact of AI-Powered Assistants like BlenderGPT in the Creative Process</h3><p>The BlenderGPT is an all-in-one assistant designed to enhance Blender’s functionality by integrating with GPT-3/4 and Whisper technology. This innovative tool allows users to interact with Blender using natural language commands, including complex prompts, making it more accessible and efficient for users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rTp2BPXMTO0RbLpE" /><figcaption>BlenderGPT</figcaption></figure><p>Installing the BlenderGPT add-on is a straightforward process. Users can download the add-on as a zip file from the designated repository and then install it through Blender’s editor preferences. After installation, users need to enable the add-on and provide their OpenAI API key for authentication.</p><p>One of the key features of BlenderGPT is its Whisper integration, which enables accurate Automatic Speech Recognition (ASR). This feature allows users to control Blender using voice commands, enhancing workflow efficiency. Additionally, BlenderGPT utilizes a new API structure with a chat completion endpoint and a System Role, ensuring seamless interaction and improved user experience.</p><p>Users can customize the system prompt through add-on preferences and clear chat logs for better organization. Interaction with BlenderGPT can be done through the GPT-4 Assistant tab in Blender’s 3D view. Users have two options for interaction: they can click the “Execute by voice” button to record speech via Whisper and execute requests automatically, or they can manually enter prompts in the input field and click the “Execute by text” button.</p><p>However, it’s essential to acknowledge the limitations of BlenderGPT. The add-on’s capabilities are currently limited by the data used to train GPT3.5/4. Future enhancements, such as integrating the OpenAI retrieval plugin to embed the Blender Python documentation entirely, may expand its functionalities and provide users with more possibilities for their Blender projects.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a32fbcb54a56" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ROAD MAP TO CLOUD COMPUTING COMPUTING]]></title>
            <link>https://medium.com/@Mayora.brian/road-map-to-cloud-computing-computing-faaf2214159b?source=rss-b119b972fa7f------2</link>
            <guid isPermaLink="false">https://medium.com/p/faaf2214159b</guid>
            <dc:creator><![CDATA[Mayora Brian]]></dc:creator>
            <pubDate>Fri, 19 Jan 2024 07:41:48 GMT</pubDate>
            <atom:updated>2024-01-19T07:41:48.577Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/564/0*4iqEWhlDC9j3Ao0f" /></figure><p><em>…Cloud computing</em></p><p>Cloud computing has revolutionized the way businesses and individuals can manage different computing resources. Unlike traditional ways of processing data, cloud computing offers an on-demand service through the use of the internet and remotely hosted servers.</p><p>Learning cloud fundamentals is a valuable skill in today’s technological world.</p><p><strong>A. Cloud computing road map</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FsFXU9n9-6iI%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DsFXU9n9-6iI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FsFXU9n9-6iI%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/734c5e3fee7e9cb854445dd88917282e/href">https://medium.com/media/734c5e3fee7e9cb854445dd88917282e/href</a></iframe><p><strong>Cloud computing concepts:</strong></p><ol><li>Identifying essential characteristics of cloud computing</li><li>Defining tangible and intangible benefits of cloud computing</li><li>Summarize deployment models and identify considerations for implementation</li></ol><p><strong>Cloud Service Models:</strong></p><ol><li>Gain insights on various models, such as SaaS, PaaS, and IaaS.</li><li>Understand how solution stacks are implemented on cloud platforms.</li></ol><p><strong>Cloud Governance:</strong></p><ol><li>Understand the importance of cloud governance and how it drives businesses.</li><li>Identify various issues associated with cloud computing and vendor selection.</li></ol><p><strong>Cloud service support:</strong></p><ol><li>Identify various ways for testing and data validation</li><li>Understand the risks associated with cloud computing</li><li>Evaluate resource management needs and data recovery mechanisms in cloud computing platforms</li></ol><p><strong>Configurable Resources</strong></p><p>Cloud computing offers an on-demand pool of configurable resources.</p><p>These resources can be rapidly provisioned and released with minimal management or service provider interactions</p><p>Networks</p><p>Servers</p><p>Storage</p><p>Applications</p><p>Services</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=faaf2214159b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CLOUD COMPUTING FUNDAMENTALS]]></title>
            <link>https://medium.com/@Mayora.brian/cloud-computing-fundamentals-2ed4e3376047?source=rss-b119b972fa7f------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ed4e3376047</guid>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Mayora Brian]]></dc:creator>
            <pubDate>Tue, 14 Nov 2023 07:15:40 GMT</pubDate>
            <atom:updated>2023-11-14T07:15:40.626Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>CLOUD COMPUTING FUNDAMENTALS</strong></p><p>Embarking on the exploration of cloud computing fundamentals was akin to entering a vast technological realm, with virtualization standing as a cornerstone. The journey commenced by unraveling the intricacies of virtualization, particularly in the context of server virtualization. Defined as the art of crafting virtual versions of operating systems and network resources, server virtualization’s significance in orchestrating resource efficiency and scalability quickly became evident.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/0*4WiMM_DYSmgB10Wq.jpg" /><figcaption>Hypervision</figcaption></figure><p>Delving into the realm of hypervisors, or Virtual Machine Monitors (VMMs), illuminated their role as both software and hardware components orchestrating the creation and management of virtual machines (VMs). These hypervisors, perched between hardware and operating systems, wielded the power to allocate resources and ensure the independent operation of each VM.</p><p>The advantages of server virtualization became apparent, from heightened resource utilization to the isolation of VMs, offering a shield against potential disruptions. The ability to swiftly deploy or retract resources added an extra layer of flexibility and scalability, characteristics fundamental to the dynamism of cloud environments.</p><p>Venturing further into the landscape, the guide transitioned seamlessly to diverse types of virtualization, from network to storage and desktop. Each type brought its unique contribution, underlining the versatility of virtualization technologies.</p><p>The narrative then took a practical turn, detailing the real-world benefits of virtualization. The consolidation of servers, energy efficiency gains, and the dynamic allocation of resources underscored the tangible advantages. The focus on isolation and security, facilitated by features like snapshots and cloning, added layers of resilience to the virtualized infrastructure.</p><p>The subsequent dive into the comparison between hypervisors and containers introduced a nuanced perspective. Hypervisors, with their full isolation and resource allocation, contrasted with the lightweight, process-level isolation of containers. The exploration illuminated their distinct roles in different scenarios, emphasizing the synergistic use of both technologies in modern IT landscapes.</p><p>As the journey continued, the guide seamlessly transitioned into the practicalities of cloud computing implementation, offering a step-by-step guide reminiscent of a scientific experiment. Defined objectives and infrastructure assessments laid the groundwork, leading to decisions on cloud service and deployment models. The guide meticulously navigated the selection of a cloud service provider, addressed data migration nuances, and delved into the intricacies of security, network architecture, and scalability.</p><p>The exploration culminated with a comprehensive guide on data migration, underscoring the meticulous planning and execution required for a seamless transition. Defined objectives, thorough assessments, and data categorization paved the way for informed decisions on migration methods and tools. The guide emphasized the importance of testing, communication, and continuous optimization in ensuring the success of the data migration experiment.</p><p>In the final chapters, the guide evolved into an exposé on cloud delivery models, painting a vivid picture of Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS). Each model emerged as a distinct entity, with its characteristics, control levels, and management responsibilities, forming a compelling narrative that demystified the cloud computing stack.</p><p>The experiment, framed as a journey through virtualization, cloud computing implementation, and data migration, unfolded as a comprehensive exploration of the technological landscape. The hands-on guide provided not just theoretical insights but tangible steps, akin to a scientific experiment yielding practical results in the realm of cloud technology.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ed4e3376047" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unlocking the Potential of Deep Learning in Standard Text Digitalization]]></title>
            <link>https://medium.com/@Mayora.brian/unlocking-the-potential-of-deep-learning-in-standard-text-digitalization-00f33f6a5771?source=rss-b119b972fa7f------2</link>
            <guid isPermaLink="false">https://medium.com/p/00f33f6a5771</guid>
            <dc:creator><![CDATA[Mayora Brian]]></dc:creator>
            <pubDate>Tue, 14 Nov 2023 07:00:41 GMT</pubDate>
            <atom:updated>2024-01-19T10:51:29.179Z</atom:updated>
            <content:encoded><![CDATA[<p>Introduction:<br>Digital standards represent the forefront of technological advancement, presenting challenges that demand innovative solutions. Relation classification, a fundamental task in natural language processing (NLP), plays a crucial role in various applications like machine translation, human-computer interaction, and structured text generation. The accuracy of entity relationship classification significantly impacts the success of NLP tasks. Manual classification of complex relationships in the digitalization of standards is time-consuming and expensive, necessitating a shift towards automation through advanced deep learning algorithms.</p><p>Related Work:</p><p>Prior research in Standard Text Digitalization has explored innovative solutions. Liu et al. [10] highlighted development trends, proposing a domain standard digital modeling method based on knowledge graphs. Gruninger et al. [13] focused on a top-level ontology of standards. Various relation classification models include bidirectional RNN [20], attention-based models [23], and models leveraging BERT pre-trained features [32].</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Ft45S_MwAcOw&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dt45S_MwAcOw&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2Ft45S_MwAcOw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/a84423f98cc28c8b0f9f6091546302f7/href">https://medium.com/media/a84423f98cc28c8b0f9f6091546302f7/href</a></iframe><p>Relation Classification Models:</p><p>2.3. Relation Classification Model Based on Recurrent Neural Network (RNN):<br>RNNs, overcoming CNN limitations, capture long-distance word sequences. Bidirectional RNN, used by Zhang et al. [21], extracts features for relationship classification.</p><p>2.4. Attention-Based Relational Classification Model:<br>Attention mechanisms, as in Zhou et al. [23], assign weights to words, enhancing the correlation understanding.</p><p>2.5. Relational Classification Model Based on BERT Pre-Trained Model:<br>BERT’s impact on NLP led Wu et al. [32] to apply it to relational classification, fine-tuning output features for diverse tasks.</p><p>2.6. Relational Classification Models Applied to Various Domains:<br>In domains like energy and medicine, Geng et al. [34] optimized energy forecasting with CNN, and Li et al. [35] improved medical relationship classification in electronic medical records.</p><p>Methodology:</p><p>3. Method:<br>The proposed model introduces a relation classification network using cascaded word vector attention. Comprising four layers, it begins with an embedding layer, converting text data into word vectors. The entity feature extraction layer uses BERT to extract feature vectors for entities. The cascaded word vector attention layer assigns weights to word vector elements for precise relationship classification.</p><p>Experiment and Results:</p><p>4. Experiment:<br>A self-labeled standard text dataset was created for evaluation, with F1-score as the metric. Comparative experiments on CNN, attention-based, and BiLSTM networks, and two BERT fine-tuned models, showed the proposed model’s superiority. F1-values reached 78.8%, 89.75%, and 70.28%. Experiments on public datasets validated the model’s effectiveness.</p><p>Conclusion:</p><p>In conclusion, the proposed relational classification model, incorporating cascaded word vector attention, presents a promising approach for efficient standard text digitalization. While outperforming existing models, certain limitations exist, particularly in handling overlapping entities, which future work can address for broader applicability. Prior research, as evidenced by Liu et al. [10] and Gruninger et al. [13], sets the foundation for innovative solutions in this evolving field.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=00f33f6a5771" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>