Tagged articles
MoCo
26 articles · Page 1 of 1
MoCo is an open‑source Python framework that unifies 26 algorithms across four collaboration levels, enabling researchers to scale model ensembles from 2 to 16 LLMs, explore diversity benefits, and solve tasks that single models cannot handle.
AI scalingLLMMoCo
0 likes · 7 min read

This article surveys six leading contrastive learning frameworks—SimCLR, MoCo, BYOL, SwAV, Barlow Twins, and NNCLR—detailing their loss functions, data‑augmentation pipelines, encoder architectures, and unique mechanisms such as momentum queues, twin networks, clustering swaps, and redundancy reduction, while highlighting their advantages and impact on self‑supervised vision research.
BYOLBarlow TwinsContrastive Learning
0 likes · 14 min read

This article introduces the four types of machine learning, explains self‑supervised learning, details generative and contrastive approaches, and provides an in‑depth overview of the MoCo series (V1‑V3), including their architectures, training strategies, and experimental results on document image classification and text‑line detection tasks.
Contrastive LearningMoCoVision Transformers
0 likes · 12 min read

This guide shows how to quickly create a low‑cost, serverless mock server using Tencent Cloud's Serverless Cloud Function (SCF) by packaging the Moco JAR, a JSON response file, and a bootstrap script into a ZIP, deploying it as a Java 8 web function, and optionally using a one‑click template for instant setup and automatic scaling.
Cloud FunctionsDevOpsJava
0 likes · 6 min read

This paper proposes HiT, a hierarchical transformer model with momentum contrast for video-text retrieval, addressing limitations in existing multimodal learning methods by introducing hierarchical cross-modal contrast matching and momentum cross-modal contrast to improve retrieval performance.
Contrastive LearningHCMMCC
0 likes · 9 min read

This article introduces the FunTester moco framework, summarizing its architecture, the three core components (RequestMatcher, ResponseHandler, HttpServer), detailed matching and response capabilities, and additional utilities such as runners and monitoring, providing a comprehensive guide for developers using the moco API.
API mockingMoCoTesting Framework
0 likes · 7 min read

This guide explains how to extend the moco API with request‑hit monitoring, demonstrates building a lightweight test service, and shows achieving over 50,000 QPS using FunTester, while detailing the available assertion methods and their practical code examples.
API testingBackendJava
0 likes · 5 min read

This tutorial explains how to download the Moco‑runner JAR, configure various mock scenarios—including GET, POST, parameterized requests, cookies, headers, and redirects—and run them from the command line or through JMeter for comprehensive API testing.
API testingBackendJMeter
0 likes · 8 min read

This article explains how to extend the Moco mock server with custom delay handlers so that developers can simulate API responses that take longer than five seconds, including sample usage, wrapper methods, and the full implementation of a DelayHandler class in Java.
API mockingDelay ResponseJava
0 likes · 4 min read

This article explains how to overcome the difficulty of isolating external service performance during load testing by creating a fixed‑QPS mock endpoint using Java's Semaphore and a custom Moco ResponseHandler, includes code samples, accuracy observations, and practical guidelines.
JavaMoCoMock API
0 likes · 5 min read

This tutorial walks through creating a MocoServer instance, configuring ports and log monitors, and using the moco API to define request‑response behavior, followed by a comprehensive Java utility class that simplifies server setup, monitoring, and lifecycle management for backend testing.
API mockingBackend testingHTTP server
0 likes · 5 min read

This article explains how to configure response handlers in the Moco API mock framework, covering response types (string, JSON, object) and various strategies such as fixed, random, cyclic, and limited responses, and provides a comprehensive Java class with static helper methods for implementing these behaviors.
API mockingBackend testingJava
0 likes · 8 min read

This article introduces a video tutorial series on using the Moco API mock framework, focusing on how to configure request matching (URL, parameters, headers, cookies) and provides a comprehensive set of Java response‑handler utilities for functional and performance testing.
API mockingBackend testingGroovy
0 likes · 9 min read

This article compiles a comprehensive list of Java and Python development tools, including JaCoCo code coverage solutions, Moco API mock server tips, various Java utility libraries, Gradle build guides, and multiple Plotly visualization tutorials, providing direct links for each resource.
GradleJaCoCoJava
0 likes · 9 min read

This tutorial shows how to use the Moco API framework with a concise Groovy script—just five lines of code—to set up a mock server that serves a static blog, covering server configuration, URL redirection, mounting of static resources, and a simple wait loop for termination.
GroovyMoCobackend development
0 likes · 3 min read

This article explains why the default Moco example fails to extract JSON parameters from POST requests, walks through the source inspection that reveals the limitation, and provides a custom JsonExtractor implementation with Groovy helper methods to correctly match JSON payloads.
API mockingBackend testingGroovy
0 likes · 4 min read

This article explains how to create a custom CycleHandle response handler for the Moco framework, providing Java source code and Groovy usage examples that enable cyclic responses for scenarios like order submission or resource deletion.
BackendCycleJava
0 likes · 5 min read

This guide shows how to extend Moco with a custom RandomHandler that selects one of several predefined responses at runtime, providing full Java code, helper methods, and a usage example for building more realistic mock APIs.
APIJavaMoCo
0 likes · 5 min read

This article explains how to extend the Moco API with a custom LimitHandler to restrict request frequency, provides the Java implementation of the handler, and demonstrates several overloads for configuring default and custom intervals for rate limiting in backend testing scenarios.
APIBackend testingJava
0 likes · 6 min read

This article explains how to create a custom CycleHandle response handler for the Moco framework, providing full Java source code and Groovy usage examples to enable cyclic responses in scenarios such as order submission or resource deletion.
CycleGroovyJava
0 likes · 5 min read

This article explains how to extend Moco's API mocking capabilities by creating a custom LimitHandler that tracks request timestamps and enforces a configurable interval, providing a reusable solution for preventing rapid repeated submissions in test services.
API mockingBackendJava
0 likes · 7 min read

When using Moco API for interface virtualization, the default extractor cannot handle POST requests with JSON bodies, so a custom JsonExtractor is created to read the request content, parse the JSON, and return the desired parameter value.
API mockingGroovyHttpRequestExtractor
0 likes · 4 min read

This article explains how to create a custom CycleHandle response handler for the Moco framework to simulate repeated responses, provides the full Java implementation, demonstrates Groovy helper methods for easy usage, and briefly discusses Groovy's JVM compatibility advantages.
CycleGroovyJava
0 likes · 5 min read

When using Moco API for request virtualization, the default extractor cannot handle POST JSON bodies, so this article shows how to implement a custom JsonExtractor in Java and use Groovy matchers to verify JSON parameters effectively.
API mockingGroovyJSON
0 likes · 5 min read

The article describes a problem with Moco's default request extractor that fails to retrieve JSON parameters from POST requests and provides a custom Java extractor implementation that reads the request content and extracts the desired JSON field.
BackendExtractorHTTP
0 likes · 3 min read

This article introduces Moco, a Java‑based mock server tool, explains its purpose for early API testing and frontend development, provides step‑by‑step startup commands, showcases JSON request/response demos for various HTTP methods, outlines global configuration, and discusses its limitations.
HTTPMoCobackend development
0 likes · 6 min read
